Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro - Varying Range to Copy
I need to write a macro to go out to another spreadsheet copy a set of rows,
and paste them into the original spreadsheet. The range to copy will always start at the same cell, but may vary in length (i.e. a1:g12, and then the next time a1:g50). Is there a way to do this? Any help would be greatly appreciate. Thank You in advance! |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
Macro - Varying Range to Copy
iEnd = Sheets("Sheet1").Range("A1").End(xlDown).Row
Sheets("Sheet1").Range("A1:G" & iEnd).Copy Hth, Merjet |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using macro/vba to copy varying ranges of rows | Excel Discussion (Misc queries) | |||
AutoFill down a varying Range | Excel Programming | |||
Subtotals in a range of varying size | Excel Programming | |||
Range varying in for loop | Excel Programming | |||
Using Varying Range Size in Macro | Excel Programming |