Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I have a simple question. What is the code to set a
variable to the name of the activesheet in Excel?\ Dim SheetName As String SheetName = <code? Jeff |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
SheetName = activesheet.name -- Regards Frank Kabel Frankfurt, Germany Jeff Armstrong wrote: I have a simple question. What is the code to set a variable to the name of the activesheet in Excel?\ Dim SheetName As String SheetName = <code? Jeff |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Try this
SheetName = ActiveSheet.Name Michael Tomasura "Jeff Armstrong" wrote in message ... I have a simple question. What is the code to set a variable to the name of the activesheet in Excel?\ Dim SheetName As String SheetName = <code? Jeff |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Setting a string variable as the file name | Excel Discussion (Misc queries) | |||
Setting up variable summary sheet. | Excel Discussion (Misc queries) | |||
Setting a variable cell address | Excel Discussion (Misc queries) | |||
setting a range variable equal to the value of a string variable | Excel Programming | |||
Setting range value to a variable | Excel Programming |