Hello planetjed,
This macro assumes the name cell for the worksheet is the same on all worksheets. The macro will use the contents of that cell location as the new worksheet name. There may be certain sheets in the workbook you don't want renamed. In this macro the sheets named "Main" and "Summary" are skipped. All other sheets are renamed using the contents of cell "C2". These are all marked in red to make it easy for you to change them.
Sub RenameSheets()
Dim NewName As String
Dim Wks As Worksheet
For Each Wks In Worksheets
Select Case Wks.Name
Case Is = "Main", "Summary"
'Skip renaming these sheets
Case Else
Wks.Name = Wks.Range("C2").Text
End Select
Next Wks
End Sub
Sincerely,
Leith Ross
Bookmarks