Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
VBA help Range Count
I have a range that keeps changing and I need to count how many are in
this range. I copy and past information from one workbook to another. I delete rows that are not needed and then I need a count of how many rows are left. Any help would be greatly appreciated. Thanks, Jay |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
VBA help Range Count
On Nov 27, 9:12 am, jlclyde wrote:
I have a range that keeps changing and I need to count how many are in this range. I copy and past information from one workbook to another. I delete rows that are not needed and then I need a count of how many rows are left. Any help would be greatly appreciated. Thanks, Jay Nevermind I have made a workaround. I am just telling my variable to always equal 20. It will overwrite itself the next time the macro is ran. Jay |
#3
Posted to microsoft.public.excel.misc
|
|||
|
|||
VBA help Range Count
And you want to count from where____? to where________?
1st row to last row in column? -- Don Guillett Microsoft MVP Excel SalesAid Software "jlclyde" wrote in message ... I have a range that keeps changing and I need to count how many are in this range. I copy and past information from one workbook to another. I delete rows that are not needed and then I need a count of how many rows are left. Any help would be greatly appreciated. Thanks, Jay |
#4
Posted to microsoft.public.excel.misc
|
|||
|
|||
VBA help Range Count
Assuning that the range is allocatedc to the object rng, it is simply
rng.Rows.Count If you need to find where the end is range(range("A1"),Range("A1").End(xlDown)).Rows.Co unt -- HTH Bob (there's no email, no snail mail, but somewhere should be gmail in my addy) "jlclyde" wrote in message ... I have a range that keeps changing and I need to count how many are in this range. I copy and past information from one workbook to another. I delete rows that are not needed and then I need a count of how many rows are left. Any help would be greatly appreciated. Thanks, Jay |
#5
Posted to microsoft.public.excel.misc
|
|||
|
|||
VBA help Range Count
On Nov 27, 9:26 am, "Don Guillett" wrote:
And you want to count from where____? to where________? 1st row to last row in column? -- Don Guillett Microsoft MVP Excel SalesAid Software "jlclyde" wrote in message ... I have a range that keeps changing and I need to count how many are in this range. I copy and past information from one workbook to another. I delete rows that are not needed and then I need a count of how many rows are left. Any help would be greatly appreciated. Thanks, Jay- Hide quoted text - - Show quoted text - I got it thanks though. I used a set number. It will never be more then 20 so i set it at 20. It will copy over the unneeded rows everytime the macro is run. Jay |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Using a count in a range name | Excel Discussion (Misc queries) | |||
Sum or Count using set range | Excel Worksheet Functions | |||
how do i Count with in the cell range value is 5 and <=15 | Excel Worksheet Functions | |||
How to count dates within a certain range in a column with mutiple date range entries | Excel Worksheet Functions | |||
Count cells in one range based on parameters in another range | Excel Worksheet Functions |