if you are talking about the blades sheet as far as updating the sheet when I open it, couldn't I just skip the 3 lines of code and just re-run the macro?
I probably confused you by telling you could just delete those lines of code. Once "Blades" is created, the macro will skip over those lines by itself. There is no need to delete them.
If there is no "Blades" sheet. The macro "CollectBladesAndPorts" will create a sheet called "Blades" and attempt to write the three lines of code to the module of the worksheet "Blades." If it fails to do that, then the module of the worksheets Blades will need to have the code added to it manually. You will find a copy of that code at the bottom of the code which I gave you. You will need to copy those three lines and follow the instructions. Once that is done, it is no big deal.
Or, you could delete "Blades" and try running it again. :-)
I'm getting a debug error from:
.Range("A1").Select
It runs the first time no problem but usually on the second or third try it errors. Is that because of the three line code to the module of the "Blades" worksheet?
Add the line:
Before:
That will take care of the problem.
Bookmarks