I have set a marco to rename a sheet based on the number entered in a cell, my code is as follows:
Function RenameSheet(place As Integer)
' What needs to go in place of "Me"
' In order to select the current sheet?
Sheets("Me").Select
Sheets("Me").Name = "MCC " & place
End Function
I jsut want to rename the sheet by adding a number at the end, any ideas on how to select only the current sheet that the macro is in?
Function RenameSheet(place As Integer)
' What needs to go in place of "Me"
' In order to select the current sheet?
Sheets("Me").Select
Sheets("Me").Name = "MCC " & place
End Function
I jsut want to rename the sheet by adding a number at the end, any ideas on how to select only the current sheet that the macro is in?