ddubnansky
Board Regular
- Joined
- May 15, 2003
- Messages
- 75
- Office Version
- 2021
- 2019
- 2016
- 2013
- 2011
- 2010
- 2007
- 2003 or older
- Platform
- Windows
I currently have a macro that breaks my data in to 20 tabs(worksheets). As it breaks it down it formats the printing of each page separately (meaning that the formatting is in the loop). Since each tab is formatted exactly the same as the others, I would like to break out the formatting and have the macro, when finished, select the third worksheet through the last worksheet and format them together. This my computer from running in to loss of memory issues and me from losing my mind.
PLEASE NOTE: I cannot specifically state the sheet names within the code (i.e. worksheets(array("Sheet1", "Sheet2", "Sheet3")).Select) because other coworkers will be using this macro for their work. Everyone will have a different number of worksheets based upon the information they are pulling. However, the 3rd sheet will always be the starting point for the formatting.
Thanks for taking the time to read my dilemma and I look forward to hearing your replies.
PLEASE NOTE: I cannot specifically state the sheet names within the code (i.e. worksheets(array("Sheet1", "Sheet2", "Sheet3")).Select) because other coworkers will be using this macro for their work. Everyone will have a different number of worksheets based upon the information they are pulling. However, the 3rd sheet will always be the starting point for the formatting.
Thanks for taking the time to read my dilemma and I look forward to hearing your replies.