Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am new to macros and this is my first shot. I would like to filter data
from CQ in sheet A then copy data from CJ16 to CO16 down to the last row based on the filtered CQ data. The paste in A3 in sheet B. The following code works except it does not find the last row with data, any advice? Sheets("A").Select ActiveSheet.Range("$CQ$15:$CQ$103").AutoFilter Field:=1, Criteria1:="<" Range("CJ16:CO60").Select Selection.Copy Sheets("B").Select Selection.PasteSpecial Paste:=xlPasteValues, Operation:=xlNone, SkipBlanks _ :=False, Transpose:=False Range("J23").Select End Sub Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
to copy pivot table as new sheet with same format | Excel Discussion (Misc queries) | |||
copy same cell from different ascending sheet into a table? | Excel Worksheet Functions | |||
Copy Records from Access Database table(more than 5 lakh records in this table) to Excel Sheet | Excel Programming | |||
I need to copy table from one sheet to anothe | Excel Worksheet Functions | |||
Copy Table to New Sheet | Excel Programming |