UnsolvedCoding
Technical User
Is there a way to copy and rename the copied worksheet in the same line of code?
I know about doing this:
Sheets("Base").Copy Before:=Sheets("Base")
Sheets("Base (2)").Name = MySheetName
But is there a better way to do it?
I know about doing this:
Sheets("Base").Copy Before:=Sheets("Base")
Sheets("Base (2)").Name = MySheetName
But is there a better way to do it?