Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 21
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 694
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 2,276
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   Report Post  
Posted to microsoft.public.excel.newusers
external usenet poster
 
Posts: 694
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



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
How do I enter a Hard Return inside a cell? EHS Excel Discussion (Misc queries) 8 July 8th 08 02:32 PM
Can you use HLOOKUP inside VLOOKUP to tell it what column 2 return Otter Excel Worksheet Functions 1 February 8th 08 03:43 PM
copying worksheets to mane one document. Charimilly New Users to Excel 1 January 25th 08 08:26 AM
Why does not Excel 2003 Replace comand romove spaces from cell contents? Dmitry Excel Worksheet Functions 5 April 6th 06 04:26 PM
using the name of a worksheet written in a cell, inside a formula Using the name of a worksheet written in Excel Worksheet Functions 2 March 6th 06 10:29 PM


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