bluepenink
Well-known Member
- Joined
- Dec 21, 2010
- Messages
- 585
Hello
I have this code
when i run the macro, it changes the worksheet name to cell G5, which is great
however how can i automate it, so whenever i change the value in G5, excel automatically changes the worksheet name
can someone pls help! thxs
I have this code
Code:
Public Sub RenameSheet()
NewName = Range("G5").Value
ActiveSheet.Name = NewName
End Sub
when i run the macro, it changes the worksheet name to cell G5, which is great
however how can i automate it, so whenever i change the value in G5, excel automatically changes the worksheet name
can someone pls help! thxs