Hello,
I need to change the name of the spreadsheets in the Workbook using a "Master" list created in the same Workbook. I tried to use the VBA below but got a 400 error code. I appreciate any assistance...I feel it is something simple I just cannot figure it out. I was going to attach the spreadsheet but I don't have permissions to do so. Thanks.
Worksheets Currently Named: .73, .74, .75, .76, .77, through .200
Need to Change Worksheet Names to: .74, .75, .76, .77, through .200
Sub ChangeTabNames()
Dim rng As Range, i As Integer
Application.ScreenUpdating = False
For Each rng In Worksheets("Master").Range("A:A201")
i = i + 1: Sheets("." + i).Name = rng.Value
Next rng
End Sub
I need to change the name of the spreadsheets in the Workbook using a "Master" list created in the same Workbook. I tried to use the VBA below but got a 400 error code. I appreciate any assistance...I feel it is something simple I just cannot figure it out. I was going to attach the spreadsheet but I don't have permissions to do so. Thanks.
Worksheets Currently Named: .73, .74, .75, .76, .77, through .200
Need to Change Worksheet Names to: .74, .75, .76, .77, through .200
Sub ChangeTabNames()
Dim rng As Range, i As Integer
Application.ScreenUpdating = False
For Each rng In Worksheets("Master").Range("A:A201")
i = i + 1: Sheets("." + i).Name = rng.Value
Next rng
End Sub