Home |
Search |
Today's Posts |
#4
![]() |
|||
|
|||
![]()
"~Jeff~" wrote in message
... Is there a way to set the spreadsheet up so that ... Yes, with event code (if you mean "so that the sheet name becomes whatever's in A4" & not the other way around). Rightclick the sheet tab, click "View Code" ; then paste the following into the worksheet module. Private Sub Worksheet_Change(ByVal Target As Range) If Target.Address < "$A$4" Then Exit Sub On Error GoTo 100: ActiveSheet.Name = Target Exit Sub 100: MsgBox "Cannot rename sheet." End Sub |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Transfer data from sheet to sheet | Excel Discussion (Misc queries) | |||
Linking sheets to a summary sheet in workbook | Excel Discussion (Misc queries) | |||
linking multiple sheets to a summary sheet | Excel Discussion (Misc queries) | |||
Function to automatically insert a new sheet as a result of data entry? | Excel Worksheet Functions | |||
Naming & renaming a sheet tab | Excel Worksheet Functions |