Hi,
Hope you can help, below I am trying to run through each sheet in an activeworkbook and perform code. Some of the code will delete an activesheet if it meets the requirements. I have assigned the upper variable as SheetsCount, this can be reduced by a sheet being deleted in the code, however my code below keeps running passed the redefined upper limit variable SheetsCount. So after a sheet is deleted and SheetsCount is redefined as -1 its orginal value the code keeps running passed the new value of SheetsCount.
I'm obviously missing something basic, and Ideas?
Sorry I might not have explained this very well, but have given a basic example of my error in the code above.Please Login or Register to view this content.
Any input / ideas welcomed!
Bookmarks