Hello!
I have several worksheets on one file. The third worksheet is called <letter P + some number>, e.g. 'P27' or 'P138'. The first two sheets have very different names.
What would be the VBA code to:
1. Add a new THIRD worksheet - i.e., right before the current third sheet
2. Name it <P + number that is the number of the current 3rd sheet + 1>, e.g., if the current 3rd sheet is 'P27', then the new 3rd sheet should be called 'P28'.
Thank you so much!
I have several worksheets on one file. The third worksheet is called <letter P + some number>, e.g. 'P27' or 'P138'. The first two sheets have very different names.
What would be the VBA code to:
1. Add a new THIRD worksheet - i.e., right before the current third sheet
2. Name it <P + number that is the number of the current 3rd sheet + 1>, e.g., if the current 3rd sheet is 'P27', then the new 3rd sheet should be called 'P28'.
Thank you so much!