Hi Guys,
I need some code that will rename the sheet to the sheet before the active sheet + 7
What i am doing is copying a template sheet before the compatibilty Report sheet.
I am then trying to rename the sheet to the sheet before this active sheet + 7
The previous sheet say is like this 20.06.2012
I would want to rename the active sheet/Copied template sheet 27.06.2012
This is as far as i have got
I need some code that will rename the sheet to the sheet before the active sheet + 7
What i am doing is copying a template sheet before the compatibilty Report sheet.
I am then trying to rename the sheet to the sheet before this active sheet + 7
The previous sheet say is like this 20.06.2012
I would want to rename the active sheet/Copied template sheet 27.06.2012
This is as far as i have got
Code:
Sub AddSheets()
Dim Ts As Worksheet
Set Ts = Sheets("Template")
Ts.Copy before:=Sheets("Compatibility Report")
Activesheet.name = ?????
End Sub