Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
OCA OCA is offline
external usenet poster
 
Posts: 2
Default cell equal worksheet title

How would I go about making a cell equal the name of the worksheet, in which
it is entered? I.e. in Sheet1, cell A1 equals 'Sheet1'? Is this possible?
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,058
Default cell equal worksheet title

=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,LEN(CELL("filename",A 1))-FIND("]",CELL("filename",A1)))

Of course, the file must have been saved at least once.
--
Gary''s Student - gsnu200832


"OCA" wrote:

How would I go about making a cell equal the name of the worksheet, in which
it is entered? I.e. in Sheet1, cell A1 equals 'Sheet1'? Is this possible?

  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 15
Default cell equal worksheet title

this one

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

"OCA" wrote:

How would I go about making a cell equal the name of the worksheet, in which
it is entered? I.e. in Sheet1, cell A1 equals 'Sheet1'? Is this possible?

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default cell equal worksheet title

This will return the name of the active sheet in the active workbook when excel
recalculated.

If you want the name of the worksheet that contains the formula, you'll want to
include a cell reference like Gary's Student suggested.

muddan madhu wrote:

this one

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

"OCA" wrote:

How would I go about making a cell equal the name of the worksheet, in which
it is entered? I.e. in Sheet1, cell A1 equals 'Sheet1'? Is this possible?


--

Dave Peterson
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
cell entry equal worksheet title OCA Excel Discussion (Misc queries) 7 August 14th 08 12:08 AM
Can you cell reference for the title of the worksheet tab? Rob Excel Worksheet Functions 1 October 18th 06 04:37 PM
Worksheet Title in Cell? BillT Excel Discussion (Misc queries) 2 August 28th 06 03:48 PM
Cell display worksheet title Jim Marchiori Excel Worksheet Functions 1 August 23rd 06 10:35 PM
... I would like the Worksheet Tab Title to be in Cell A1 too... Dr. Darrell Excel Discussion (Misc queries) 11 October 28th 05 02:47 PM


All times are GMT +1. The time now is 12:57 PM.

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

About Us

"It's about Microsoft Excel"