Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am trying to copy a row from a subtotal table to another
sheet. I can select the cell that starts the row with find but do not know how to select the entire row in a macro. Any help would be appreciated. Thanks |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Michael,
Try: Range("a1").EntireRow.Select if that doesn't fit because you will be copying 256 columns of one row, (Run Time error 1004), then restrict what you copy to the cells that are populated and try (all one line) : Range([a1], ([iv1].End(xlToLeft))).Copy Destination:=Sheets(2).[a1] Martin Michael wrote in message ... I am trying to copy a row from a subtotal table to another sheet. I can select the cell that starts the row with find but do not know how to select the entire row in a macro. Any help would be appreciated. Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Changing sheet reference to cell reference | Excel Worksheet Functions | |||
Using an offset formula for the reference in a relative reference | Excel Worksheet Functions | |||
Formulas that reference cells that reference another cell | Excel Discussion (Misc queries) | |||
Row reference increment but preserve column reference | Excel Worksheet Functions | |||
Macro to Reference Column Next to Current Reference | Excel Discussion (Misc queries) |