Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I am using an input box to store a string which is
entered by the user as follows: strCrossGroup = InputBox("Pool/Owner:") I would then like the value which is entered by the user to become the name of the ACTIVE worksheet (i.e. If I enter "Jones" in the input box, I want the active sheet to be renamed to "Jones"). My initial idea is something as follows, although I am not sure how to finish it. Thanks for your help. Sheets(?).Select.Name = strCrossGroup |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi Jason:
ActiveSheet.Name = strCrossGroup Regards, Vasant. "Jason" wrote in message ... I am using an input box to store a string which is entered by the user as follows: strCrossGroup = InputBox("Pool/Owner:") I would then like the value which is entered by the user to become the name of the ACTIVE worksheet (i.e. If I enter "Jones" in the input box, I want the active sheet to be renamed to "Jones"). My initial idea is something as follows, although I am not sure how to finish it. Thanks for your help. Sheets(?).Select.Name = strCrossGroup |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Did you try ActiveSheet.Name = strCrossGroup ? Robbie -----Original Message----- I am using an input box to store a string which is entered by the user as follows: strCrossGroup = InputBox("Pool/Owner:") I would then like the value which is entered by the user to become the name of the ACTIVE worksheet (i.e. If I enter "Jones" in the input box, I want the active sheet to be renamed to "Jones"). My initial idea is something as follows, although I am not sure how to finish it. Thanks for your help. Sheets(?).Select.Name = strCrossGroup . |
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 Discussion (Misc queries) |