Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default Sheet name to string variable

Hi,

How do you set a string variable to the name of the active worksheet?

Thanks in advance

Greg
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,272
Default Sheet name to string variable

myVar = Activesheet.Name

--
HTH

Bob Phillips

"Greg Billinge" wrote in message
...
Hi,

How do you set a string variable to the name of the active worksheet?

Thanks in advance

Greg



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 2,646
Default Sheet name to string variable

yourvariable = Activesheet.Name

Stefi

€˛Greg Billinge€¯ ezt Ć*rta:

Hi,

How do you set a string variable to the name of the active worksheet?

Thanks in advance

Greg

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Use a string as a Variable Name Brandt Excel Worksheet Functions 4 November 28th 07 06:01 PM
setting a range variable equal to the value of a string variable Pilgrim Excel Programming 2 July 1st 04 11:32 PM
How do I convert an integer variable to a string variable? dumbass Excel Programming 2 May 21st 04 07:34 PM
make string variable reference VBA sheet name Tom Deiley Excel Programming 5 May 3rd 04 10:45 PM
Join string with variable name to get variable value Dianne Excel Programming 6 February 12th 04 04:24 AM


All times are GMT +1. The time now is 09:00 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"