Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
The code, simply, is
ActiveSheet.Name = Range("A1").Text You probably want to use an event procedure to make this happen automatically. For example, put the following code in the code module for the worksheet in question: Private Sub Worksheet_Change(ByVal Target As Range) Me.Name = Me.Range("A1").Text End Sub -- Cordially, Chip Pearson Microsoft MVP - Excel Pearson Software Consulting, LLC www.cpearson.com "chng" wrote in message ... hi there; i just want to program that excel can automatic rename the sheet's name once I key-in in the specific cell. For example; a1 = testing result : the active sheet will be named as "testing" |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
how do i rename a sheet if the rename tab is inactive? | Excel Worksheet Functions | |||
macro to: Add new sheet, then rename new sheet with todays date | Excel Worksheet Functions | |||
Move data to new sheet - rename sheet based on criteria ? | Excel Discussion (Misc queries) | |||
VBA rename sheet. | Excel Discussion (Misc queries) | |||
how do I rename a sheet | New Users to Excel |