I have an existing workbook that contains a seperate sheet for employees. I am able to write a macro that inserts a new sheet and re-names it to what I want. And I can also have it put the sheet where I know it should be but the VBA code references the actual sheet number(s) that it places it before/after. The next time I add a new sheet, the code would be off by a sheet because of the second new sheet.
I want to be able to loop through all the sheets and logically find where it should go.
Any suggestions or ideas are appreciated.
I want to be able to loop through all the sheets and logically find where it should go.
Any suggestions or ideas are appreciated.