Trevor3007
Well-known Member
- Joined
- Jan 26, 2017
- Messages
- 675
- Office Version
- 365
- Platform
- Windows
good evening,
I use the following code:-
Sub MyRename()
Sheets(2).Name = Sheets(2).Range("d1") & "-Codes"
End Sub
which does work, but I want it run as soon as D1 is changed without pressing f9 or running macro.
could some cool coder please sort?
KR
Trevor3007
I use the following code:-
Sub MyRename()
Sheets(2).Name = Sheets(2).Range("d1") & "-Codes"
End Sub
which does work, but I want it run as soon as D1 is changed without pressing f9 or running macro.
could some cool coder please sort?
KR
Trevor3007