Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 276
Default Display File Name in Cell

Is there a formula to display the File Name in a cell (Say O49) ?

--
Corey ....
The Silliest Question is generally
the one i forgot to ask.


  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 364
Default Display File Name in Cell

=CELL("filename")

Go to http://office.microsoft.com/en-us/ex...346271033.aspx

"Corey" wrote:

Is there a formula to display the File Name in a cell (Say O49) ?

--
Corey ....
The Silliest Question is generally
the one i forgot to ask.



  #3   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 276
Default Display File Name in Cell

Thanks

Tried that origianlly but only displayed the 'CELL("filename")' as text.,
Is Ok now

Thank You


Corey....


"Sheeloo" wrote in message
...
=CELL("filename")

Go to http://office.microsoft.com/en-us/ex...346271033.aspx

"Corey" wrote:

Is there a formula to display the File Name in a cell (Say O49) ?

--
Corey ....
The Silliest Question is generally
the one i forgot to ask.





  #4   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 35,218
Default Display File Name in Cell

=cell("filename")
will evaluate to the workbook name that was active when excel recalculated.

=cell("filename",a1) will return that workbook/worksheet for the cell with the
formula.

You can visit Chip Pearson's site for a bunch of formulas:
http://www.cpearson.com/excel/excelF.htm#FileName

ps. The workbook has to be saved at least once.


Corey wrote:

Is there a formula to display the File Name in a cell (Say O49) ?

--
Corey ....
The Silliest Question is generally
the one i forgot to ask.


--

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
Display cell contents in a second worksheet file Jeff Weinberg Excel Discussion (Misc queries) 0 March 16th 07 05:48 PM
How do I display custom file properties in a cell Glen Perry Excel Discussion (Misc queries) 4 November 20th 06 05:59 PM
How to display remaining txt file which overflowed MsgBox display? EagleOne Excel Discussion (Misc queries) 1 November 2nd 06 01:10 PM
How do I insert in a cell a link to display a JPG file in window LJL Asia Setting up and Configuration of Excel 0 May 19th 05 03:47 AM
How can I access/display File -> properties in a cell Denny Excel Discussion (Misc queries) 1 March 4th 05 02:22 PM


All times are GMT +1. The time now is 09:01 AM.

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"