Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
How do I rename the current sheet.
This is what I have, but if sheet1 has already been renamed, it won't work. Thank you. Sheets("Sheet1").Name = "Linefile" |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Activesheet.Name = "Line" But see your other question about naming as we add. -- HTH Bob Phillips ... looking out across Poole Harbour to the Purbecks (remove nothere from the email address if mailing direct) wrote in message ... How do I rename the current sheet. This is what I have, but if sheet1 has already been renamed, it won't work. Thank you. Sheets("Sheet1").Name = "Linefile" |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi ?
You can't have two sheets with the same name See my answer in your other thread -- Regards Ron de Bruin http://www.rondebruin.nl wrote in message ... How do I rename the current sheet. This is what I have, but if sheet1 has already been renamed, it won't work. Thank you. Sheets("Sheet1").Name = "Linefile" |
#4
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
activesheet.name = "test"
Regards Trevor wrote in message ... How do I rename the current sheet. This is what I have, but if sheet1 has already been renamed, it won't work. Thank you. Sheets("Sheet1").Name = "Linefile" |
Reply |
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) | |||
Rename sheet | Excel Programming |