I'm not exactly sure of the purpose of the macro, however on these lines here:
If all these are supposed to apply to Sheets("12 mo inc det") then they will need a . before each line. Otherwise they are going to try to apply to the active workbook. Adjust everything within you "With block" is going to be difficult. You can't just add . a the beginning of the line. You need it in very specific locations within the code. Any time an object refers to the sheet named in the with block it needs to be tied by to that sheet, such as:
However in some cases it will look like:
Like I said, without knowing the purpose of the code its hard to find every object that needs to be tied to the "parent" sheet. I hope this makes sense.
Bookmarks