A few more changes that I made to Cap to make it look like the workbook I'll eventually want to implement it into - again I'm using more of a mockup so I don't share sensitive info. It's a very big workbook so I didn't want to go into it and delete 15 pages of sensitive data.
So your latest code works but I only if I leave the sheets named default (Sheet1, Sheet2, etc etc). I thought I'd rename sheets 9 to 15 to match the "real" document but then the code no longer worked, with the following line highlighted.
So I changed this line
to (having renamed Sheet9 to Bob)
I thought that would do the trick but I still get "Runtime Error 1004. Application defined or object defined error".
I assume there's something else in the the code I need to change?
Bookmarks