I have a spreadsheet that can have anywhere between 500-1000 worksheets but the final sheet is always one called 'End'. Since other people use the spreadsheet and lots of data is imported/exported, sometimes 'End' gets moved. I need a macro that can check the relative location of End and make sure it is where it's supposed to be.
I thought something along the lines of: count number of worksheets in workbook. Get relative position of End. If these two match, okay, if not then End is not where it's supposed to be. I only know how to count the worksheets though, i.e.
Bit stuck with how to return the position of a specific worksheet however...
Cheers
Rob
Bookmarks