I can't attach the Excel since it's full of sensitive information.
Right now this code is just going through each sheet and adding three columns to the end.
I tried adding this bit of code to the end of my macro, replacing "new" with the other possible names of sheets so if next week my vendor sheet includes one of those other sheets, I won't have to redo my macro:
But once it gets to the portion of the code for a sheet that's not in the current workbook, I get an error message.
Is there a way to write the code so that it will just go through the sheet options and add the columns in if the sheet is there?
Bookmarks