You are on page 1of 1

Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range) On Error Resume Next ActiveSheet.Name = ActiveSheet.Cells(2, 2).

Value End Sub Private Sub Worksheet_Change(ByVal Target As Range) On Error Resume Next For i = 2 To Worksheets.Count Sheets(i).Name = Sheets(i).Cells(2, 2).Value Next i End Sub

You might also like