tljenkin
Board Regular
- Joined
- Jun 14, 2007
- Messages
- 147
Hi All
I have a database that I update every week with about 300 new records. The first column is the week column and this will change each week eg week 10, all records will be be week 10, week 11 will have week 11 and so on.
How do I get vba after pasting the records to automatically populate the first column (week) with the next weeks name eg following on from above, next week would be week 12
I am guessing I need to find the last row in column a after pasting, look at the cell above, check the last 1,2 or 3 digits (should be dynamic) and add one and then merge the result with "week". Then fill down in current region
Just not sure how to code it, please help
Thanks
I have a database that I update every week with about 300 new records. The first column is the week column and this will change each week eg week 10, all records will be be week 10, week 11 will have week 11 and so on.
How do I get vba after pasting the records to automatically populate the first column (week) with the next weeks name eg following on from above, next week would be week 12
I am guessing I need to find the last row in column a after pasting, look at the cell above, check the last 1,2 or 3 digits (should be dynamic) and add one and then merge the result with "week". Then fill down in current region
Just not sure how to code it, please help
Thanks