Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RS RS is offline
external usenet poster
 
Posts: 113
Default How to display the filename in spreadsheet

Using the information for displaying a TAB-name,
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
is there any way to display the FILENAME ONLY?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 4,624
Default How to display the filename in spreadsheet

See

http://www.mcgimpsey.com/excel/formu..._function.html

In article ,
RS wrote:

Using the information for displaying a TAB-name,
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
is there any way to display the FILENAME ONLY?

  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
RS RS is offline
external usenet poster
 
Posts: 113
Default How to display the filename in spreadsheet

Thank you for the link.

"JE McGimpsey" wrote:

See
http://www.mcgimpsey.com/excel/formu..._function.html

In article ,
RS wrote:

Using the information for displaying a TAB-name,
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
is there any way to display the FILENAME ONLY?

  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default How to display the filename in spreadsheet

From Bob Phillips

File path, file and worksheet name:
=CELL("filename",A1)

File path only:
=LEFT(CELL("filename",A1),FIND("[",CELL("filename",A1),1)-1)

File name only:
=MID(CELL("filename",A1),FIND("[",CELL("filename",A1),1)+1,FIND("]",CELL("filename",A1),1)-FIND("[",CELL("filename",A1),1)-1)

The sheet name:
=MID(CELL("Filename",A1),FIND("]",CELL("Filename",A1))+1,255


Gord Dibben MS Excel MVP

On Wed, 22 Nov 2006 08:42:02 -0800, RS wrote:

Using the information for displaying a TAB-name,
=MID(CELL("filename",A1),FIND("]",CELL("filename",A1))+1,255)
is there any way to display the FILENAME ONLY?

Thanks


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
is it possible to make a spreadsheet display '0' when negative atsoc Excel Worksheet Functions 1 November 9th 05 10:47 AM
How do I display colour on my EXCEL spreadsheet? WokinghamXloutXXXX Excel Worksheet Functions 0 November 3rd 05 10:26 PM
Insert value of a cell as a filename Ralph Howarth Excel Worksheet Functions 0 January 18th 05 12:03 AM
Data Filter - Not all rows in spreadsheet will display in Autofilt Excel Help Excel Worksheet Functions 1 November 17th 04 05:40 PM
Combine & Display “Fixed” & “Automatically Updated” Date Parts texcel Excel Worksheet Functions 1 November 1st 04 05:38 PM


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