Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.misc
|
|||
|
|||
Automatic worksheet name from cell on that worksheet (A2)
I have a workbook with 20+ worksheets and want each tab to reflect what is in
A2 of the respective worksheet. |
#2
Posted to microsoft.public.excel.misc
|
|||
|
|||
Automatic worksheet name from cell on that worksheet (A2)
After verifying that the names in A2 are valid worksheet names, run:
Sub wwwwwnameit() Dim w As Worksheet For Each w In Worksheets w.Activate w.Name = Range("A2").Value Next End Sub -- Gary''s Student "Rob" wrote: I have a workbook with 20+ worksheets and want each tab to reflect what is in A2 of the respective worksheet. |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
link worksheet A & B | Excel Worksheet Functions | |||
insert date | Excel Worksheet Functions | |||
Data From One Worksheet To Be Used In A Cell In A Different Worksheet | Excel Worksheet Functions | |||
Possible Lookup Table | Excel Worksheet Functions | |||
Copy cell format to cell on another worksht and update automatical | Excel Worksheet Functions |