Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
'This is workbook event code.
'To input this code, right click on the Excel icon on the worksheet '(or next to the File menu if you maximise your workbooks), 'select View Code from the menu, and paste the code Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range) If Not Intersect(Range("D1"), Target) Is Nothing Then Sh.Name = Target.Value End If End Sub -- HTH Bob Phillips (replace somewhere in email address with gmail if mailing direct) "Michelle" wrote in message ... I have a workbook with 75 worksheets (tabs) and would like the value in field D1 to be the name of the tab? Is this possible and how would I do this? Please help. Thanks. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Naming Cell in diffetn worksheet | Excel Worksheet Functions | |||
intersection naming transport between files | Excel Discussion (Misc queries) | |||
Tab naming | Excel Discussion (Misc queries) | |||
E2003 naming ranges correctly | Excel Discussion (Misc queries) | |||
Naming ranges? | Excel Discussion (Misc queries) |