Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
I have this line of code and it works but it is dependent on having 100 rows.
I would like to change it up so that it will not be dependednt on having a certain amount of rows. Sheets("Raw Data").Range("A7:A100").Copy Destination:=Range("A2") It is just copying data from the worksheet "Raw Data" to another sheet in the same workbook. I just never know how many samples I have and would like to change the code to be a little more flexiable. I thought the change would of looked like this: Sheets("Raw Data").Range("A7:A").Copy Destination:=Range("A2") This didn't work though. Thanks |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I enter formula sum(range+range)*0.15 sumif(range=3) | Excel Discussion (Misc queries) | |||
Excel Addin:Setting the range to the Excel.Range object range prop | Excel Worksheet Functions | |||
Selecting range in list of range names depending on a cell informa | Excel Discussion (Misc queries) | |||
formula to sort a range so that it matches the exact rows of a column that is outside that range? | Excel Discussion (Misc queries) | |||
How to count dates within a certain range in a column with mutiple date range entries | Excel Worksheet Functions |