jase71ds
Board Regular
- Joined
- Oct 23, 2006
- Messages
- 137
- Office Version
- 365
- Platform
- Windows
Thanks for any help on this - I appreciate the gift of time and knowledge that so many on this forum freely give
I have an Excel Table named "tbl_Schedule"
The first column is named "Counting"
The Counting column's purpose to start with 1 and count sequentially all the way down the table to the very last row in the table.
The table has nearly 2,000 rows and each week I'm having to insert new rows within the middle of the table.
Each time I do this I have to re-number.
I'd like to have a macro that, upon execution, starts with 1 in the first row after the column header: "Counting", and counts sequentially down to the last row of tbl_Schedule.
Keep in mind, because I will run this macro after having just inserted new rows somewhere within the table, I can't use the VBA trick of looping until it finds the first blank cell (because the new rows will have blank cells). I need the macro to look at the true range of the Excel Table and know how far down to count.
Hope that was clear.
As stated earlier - any help is very much appreciated.
Jase.
I have an Excel Table named "tbl_Schedule"
The first column is named "Counting"
The Counting column's purpose to start with 1 and count sequentially all the way down the table to the very last row in the table.
The table has nearly 2,000 rows and each week I'm having to insert new rows within the middle of the table.
Each time I do this I have to re-number.
I'd like to have a macro that, upon execution, starts with 1 in the first row after the column header: "Counting", and counts sequentially down to the last row of tbl_Schedule.
Keep in mind, because I will run this macro after having just inserted new rows somewhere within the table, I can't use the VBA trick of looping until it finds the first blank cell (because the new rows will have blank cells). I need the macro to look at the true range of the Excel Table and know how far down to count.
Hope that was clear.
As stated earlier - any help is very much appreciated.
Jase.