Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default take Active Sheetname


Dim nameSheet as string

variable nameSheet has to be the name of the current sheet, what do
have to use

--
Zur
-----------------------------------------------------------------------
Zurn's Profile: http://www.excelforum.com/member.php...fo&userid=1464
View this thread: http://www.excelforum.com/showthread.php?threadid=26418

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4,624
Default take Active Sheetname

one way:

Dim nameSheet As String
nameSheet = ActiveSheet.Name

In article ,
Zurn wrote:

Dim nameSheet as string

variable nameSheet has to be the name of the current sheet, what do I
have to use?

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default take Active Sheetname

dim MyBook as string
dim MySheet as string

MyBook = ActiveWorkbook.Name
MySheet = ActiveSheet.Name

-----Original Message-----

Dim nameSheet as string

variable nameSheet has to be the name of the current

sheet, what do I
have to use?


--
Zurn
----------------------------------------------------------

--------------
Zurn's Profile: http://www.excelforum.com/member.php?

action=getinfo&userid=14645
View this thread:

http://www.excelforum.com/showthread...hreadid=264183

.

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
sheetname tjp[_2_] Excel Worksheet Functions 3 March 5th 09 12:11 PM
Automatically update SheetName in workbook sub if SheetName changes [email protected] Excel Discussion (Misc queries) 3 February 29th 08 04:33 PM
Does anyone see this .xls]sheetname? Eric Excel Worksheet Functions 2 January 21st 07 03:28 PM
Does anyone see this .xls]sheetname? Eric Excel Discussion (Misc queries) 2 January 21st 07 03:04 PM
SheetName J.E. McGimpsey Excel Programming 1 September 2nd 03 04:39 PM


All times are GMT +1. The time now is 06:58 PM.

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"