Trying to update a sheet name based on a cell value. It works, sort of, but I have to go to that sheet and use the up or down arrows or some keystroke to get it to complete the function. Is there a way to automate this process so that I don't have to do anything except update the cell? My code is below. Please HELP!
Private Sub Worksheet_SelectionChange(ByVal Target As Range)
Set Target = Range("E1")
If Target = "" Then Exit Sub
Application.ActiveSheet.Name = VBA.Left(Target, 31)
Exit Sub
End Sub
Darren
Bookmarks