Home |
Search |
Today's Posts |
#1
![]() |
|||
|
|||
![]()
Hey Guys -
I'm trying to automate the sheet names on specific sheets only (not globally within the workbook), and I'm stumped. Here's what I typed in under "This Workbook": Private Sub Workbook_SheetSelectionChange(ByVal Sh As Object, ByVal Target As Range) Sheet4.Name = Range("d11").Value Sheet5.Name = Range("d12").Value Sheet6.Name = Range("d13").Value End Sub and I typed this into Sheets 4,5 & 6 only. Private Sub Worksheet_SelectionChange(ByVal Target As Range) ActiveSheet.Name = Range("d11").Value End Sub I'm changing the Range value in sheets 5 & 6 respectively. It worked once, but it keeps erroring out now. What am I doing wrong ??? -- tenaj |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
How do I sort entire spread sheet. Names w/data | Excel Worksheet Functions | |||
Using a relative SHEET reference for source data in a chart | Charts and Charting in Excel | |||
The columns names on my sheet have changed!! | Excel Discussion (Misc queries) | |||
Hyperlink to specific sheet in Excel Web File | Links and Linking in Excel | |||
How can I show sheet names in different colours | New Users to Excel |