Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
Select and copy a variable range
In the following code is it possible to use the actual number of
filled-in rows instead of hard-coded maximum of 15,000? Workbooks.Open FileName:=sDbf Range("2:15000").Select Selection.Copy Destination:=ThisWorkbook.Sheets(sWSName).Range("2 :15000") ActiveWorkbook.Close May be something with Rows.Count? If it matters I'm working with Excel 2002. TIA, Eugene |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Select a variable range | Excel Worksheet Functions | |||
Select variable range | Excel Programming | |||
Select a variable range | Excel Programming | |||
Use a Variable to select a range | Excel Discussion (Misc queries) | |||
select a variable range | Excel Programming |