Hello,
I am new to this forum. I am an advanced user in Excel 2007 and have a decent knowledge of VBA (but have much to learn!!!)
I have a problem that I am trying to solve. I am working on a file where the number of sheets may change periodically. In addition, I have macros that run on some, but not all of the worksheets. The macros perform the identical operations on each worksheet. The problem is that I have to go to each worksheet and execute the macro button.
My goal is to create one macro that reads a list of sheetnames ( for example from sheet1, range A1), and then runs the macros only on those worksheets. As mentioned above, the numbers of sheets may change periodically, so the macro needs to be flexible in that regard. Any idea on how to accomplish this?
Best regards,
John
Bookmarks