Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]() |
#2
![]()
Posted to microsoft.public.excel.worksheet.functions
|
|||
|
|||
![]()
Yes
Private Sub Worksheet_Change(ByVal Target As Excel.Range) If Not Intersect(Target, Range("A1")) Is Nothing Then Me.Name = Range("A1").Value End If End Sub This is event code. Right-click on the sheet tab and "View Code". Copy/paste the code into that sheet module. Note: this code will not be triggered by a calculated vale in A1, just an entered value. If you want the name change based on a calculated value use this instead. Private Sub Worksheet_Calculate() Me.Name = Range("A1").Value End Sub No error checking in either set of code. Gord Dibben MS Excel MVP On Wed, 16 May 2007 07:39:00 -0700, ktun wrote: |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
inserting a named range into new cells based on a named cell | Excel Discussion (Misc queries) | |||
How do I automatically fill a cell based on another cell in Excel | Excel Discussion (Misc queries) | |||
Lookup cell contents in on sheet based on a formula in second sheet | Excel Worksheet Functions | |||
return cell from named sheet | Excel Discussion (Misc queries) | |||
referencing a sheet named in a cell then using data from that sheet | Excel Worksheet Functions |