Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.misc
|
|||
|
|||
![]()
Works fine in testing here,
provided B2 contains a valid sheetname (w/o prohibited chars) In VBE, did you install it in "ThisWorkbook"? It's meant to be placed there. -- Max Singapore http://savefile.com/projects/236895 Downloads:22,500 Files:370 Subscribers:66 xdemechanik --- "robert morris" wrote: I use this VBA Code to change the Tab name at the same time as I enter a name in Cell B2. Why doesn't it work? I use the same code in another Workbook and it works. Private Sub Workbook_SheetChange(ByVal Sh As Object, ByVal Target As Range) If Target.Address = "$B$2" Then Sh.Name = Target.Value End Sub |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
What am I doing wrong? | Charts and Charting in Excel | |||
Insert Calculated Field (wrong Qty*Price = wrong Amount) | Excel Discussion (Misc queries) | |||
wHAT AM i DOING wrong | Excel Worksheet Functions | |||
What am I doing wrong? | Excel Worksheet Functions | |||
Where am I going wrong? | Excel Discussion (Misc queries) |