I have a workbook that contains 7 tabs. Each tab has a different number of columns and rows filled with Data. For Example:
Tab 1 Contains Range "A1:AB7500"
Tab 2 Contains Range "A1:AK6300"
Tab 3 Contains Range "A1:O5800"
The row number is going to vary ALL THE TIME. I need a macro that does the following:
- Finds the last row that contains data --> Delete all rows below this last row
- Finds the last column that contains data --> Delete all columns to the right of the last column
I need this macro to run through each tab and complete the same task (i.e. Go through each tab and delete all rows below the last row that contains data and delete all columns to the right of the last column that contains data.
Please Help!! Thanks!
Bookmarks