Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Private Sub cmdAdd_Click()
Sheets("Sheet1").Select Sheets.Add End Sub The above code will create a copy of Sheet1 by increments of 1. I want to modify the code and name the sheet based on a value in A1. For example; A1 = Joe1 when the code is run it names the sheet Joe2 run the code again it names it Joe3 etc Change A1 to Mary1 when the code is run it names the sheet Mary2 run the code again it names it Mary3 etc Change A1 to ()1 etc If Joe1 is in A1 again when the code is run it names the sheet Joe4 Anyone know if this is possible? Thanks Pat |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
naming a sheet the same as a cell in that sheet | Excel Discussion (Misc queries) | |||
Naming a sheet | Excel Discussion (Misc queries) | |||
naming sheet tab | Excel Worksheet Functions | |||
Naming Sheet | Excel Discussion (Misc queries) | |||
Naming a new sheet. | Excel Programming |