Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 1
Default name of the activesheet

there are 3 worksheets, named:
worksheet_A
worksheet_B
worksheet_C

in cell B2 for each sheet, how can i display the name of the corresponding
sheet? if the name of the sheet changes so should the contents of B2.

so cell B2 on worksheet_A, will show: "worksheet_A"


thank you.


  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 620
Default name of the activesheet

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,100)

--

HTH

Bob Phillips
... looking out across Poole Harbour to the Purbecks
(remove nothere from the email address if mailing direct)

"rasta" wrote in message
...
there are 3 worksheets, named:
worksheet_A
worksheet_B
worksheet_C

in cell B2 for each sheet, how can i display the name of the corresponding
sheet? if the name of the sheet changes so should the contents of B2.

so cell B2 on worksheet_A, will show: "worksheet_A"


thank you.




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
Can't get ActiveSheet to work... [email protected] Excel Discussion (Misc queries) 2 August 16th 07 06:12 PM
ActiveSheet.Name? Andrew Stedman Excel Programming 5 July 30th 03 01:17 PM
ActiveSheet Graham[_3_] Excel Programming 0 July 30th 03 09:08 AM
ActiveSheet Ron de Bruin Excel Programming 0 July 29th 03 04:59 PM
ActiveSheet Graham[_3_] Excel Programming 0 July 29th 03 04:47 PM


All times are GMT +1. The time now is 01:49 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"