Note that there are some explanatory texts on larger screens.

plurals
  1. USMiles
    primarykey
    data
    text
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. COOne last thing though: In case I change the name of "Sheet 11" the macro would not work anymore. I would like to use the codename of the sheet, which is Sheet11. pvt_wb_Current.Sheets("Sheet11").Range("A6:HF10000").Copy I tried to change this line to: pvt_wb_Current.Sheet11.Range("A6:HF10000").Copy But it is unsuccesful. I probably have to define it? Would be great if you could let me know, since the name of the sheet will definitely change by people other than me. Thanks
      singulars
    2. COso in total, every time the macro runs, only three rows of data are copied: (1) The row with non-empty values in the row of the active cell, (2&3) Row 4 and Row 5 based on whether the row with active cell at the moment of running the macro is non-empty. If there is anyway you can guide me, it would be hugely helpful. Thanks already for all the code until now!
      singulars
    3. COAs mentioned earlier, the macro is awesome but not 100% as I was imagining it. When I run the macro and the active cell is R6, it does exactly what i am looking for. It doesn' t work properly however when the active cell is R7, R8, R9, etc. What I want it to do is: Based on the active cell (which is R6, R7, R8, R9, all the way to R10000), (1) the macro copies the values in the row of the active cell to a new workb(so if i am on R9, it will copy the cells to the right that are not empty) and for those cells, the corresponding two values on row 4 & 5 will be copied as well
      singulars
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload