Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi all, Sorry about this, but I'm a bit of a newbie to Macros (never even opened VB until yesterday...) I have some code that changes a sheet name to the contents of a particular cell: Sub ChangeSheetNames() ActiveSheet.Name = Range("b7") End Sub Now I can create a button that activates the Macro when you press it. However I want the sheet name to change as soon as the cell contents are changed, not when you press abutton. How do I do that? Sorry to be dumb. Gavin -- Gavin Ling ------------------------------------------------------------------------ Gavin Ling's Profile: http://www.excelforum.com/member.php...o&userid=30110 View this thread: http://www.excelforum.com/showthread...hreadid=498726 |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Cell names = sheet names | Excel Worksheet Functions | |||
Changing VB Component Names to match Worksheet names using VBE | Excel Programming | |||
return all worksheet tab names and chart sheet tab names in report - an example | Excel Programming | |||
changing 'names' | Excel Programming | |||
changing sheet names | Excel Programming |