MPW
Well-known Member
- Joined
- Oct 7, 2009
- Messages
- 571
- Office Version
- 365
- Platform
- Windows
Using Office 2003 in XP
I have looked at and tried several fixes for clearing unused cells but without any success.
I have selected the offending columns/rows and used the "Clear All" command from the menu.
Then right-clicked selected the "Delete" command.
Saved and closed.
After re-opening it CTRL+END still sends it to cell IV65536.
I tried several macros using code like:
No success there either.
Strange thing is that clearing and deleting the rows and columns worked on the 1st sheet but not on the 2nd sheet of the same workbook.
On a side note: my goal here is to reduce the overall size of the workbook. As much as I would like to start over, this workbook has many formulas and vba and has been developed for over 10 years. I am not confident in the copying/exporting process to try to bring over all the userforms etc.
Any help is greatly appreciated.
MPW
I have looked at and tried several fixes for clearing unused cells but without any success.
I have selected the offending columns/rows and used the "Clear All" command from the menu.
Then right-clicked selected the "Delete" command.
Saved and closed.
After re-opening it CTRL+END still sends it to cell IV65536.
I tried several macros using code like:
PHP:
x = sh.UsedRange.Rows.Count
y = sh.UsedRange.Columns.Count
Strange thing is that clearing and deleting the rows and columns worked on the 1st sheet but not on the 2nd sheet of the same workbook.
On a side note: my goal here is to reduce the overall size of the workbook. As much as I would like to start over, this workbook has many formulas and vba and has been developed for over 10 years. I am not confident in the copying/exporting process to try to bring over all the userforms etc.
Any help is greatly appreciated.
MPW