A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Excel » New Users
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

is there a comand to return the mane of a worksheet inside a cell



 
 
Thread Tools Display Modes
  #1  
Old March 25th, 2010, 04:32 PM posted to microsoft.public.excel.newusers
Fabian
external usenet poster
 
Posts: 46
Default is there a comand to return the mane of a worksheet inside a cell

Trying to find a command that returns a worksheet name inside a cell
  #2  
Old March 25th, 2010, 04:54 PM posted to microsoft.public.excel.newusers
John
external usenet poster
 
Posts: 563
Default is there a comand to return the mane of a worksheet inside a cell

Hi Fabian
Try this,
=MID(CELL("filename"),FIND("[",CELL("filename"))+1,FIND("]",CELL("filename"))-FIND("[",CELL("filename"))-1)
This one will give you the full path: =CELL("filename")
HTH
John
"Fabian" wrote in message
...
Trying to find a command that returns a worksheet name inside a cell


  #3  
Old March 25th, 2010, 04:56 PM posted to microsoft.public.excel.newusers
eduardo
external usenet poster
 
Posts: 2,131
Default is there a comand to return the mane of a worksheet inside a cell

Hi,

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


"Fabian" wrote:

Trying to find a command that returns a worksheet name inside a cell

  #4  
Old March 25th, 2010, 05:04 PM posted to microsoft.public.excel.newusers
John
external usenet poster
 
Posts: 563
Default is there a comand to return the mane of a worksheet inside a cell

Ooops
The worksheet name not workbook, reading to fast.
Eduardo has the answer, now you have it all.
John
"John" wrote in message
...
Hi Fabian
Try this,
=MID(CELL("filename"),FIND("[",CELL("filename"))+1,FIND("]",CELL("filename"))-FIND("[",CELL("filename"))-1)
This one will give you the full path: =CELL("filename")
HTH
John
"Fabian" wrote in message
...
Trying to find a command that returns a worksheet name inside a cell



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 11:59 PM.


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