Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Cell equal to File Name

Is there a way to put the name of the excel file in a worksheet?

Thanks
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 11,123
Default Cell equal to File Name

Hi Pedro

See
http://www.xldynamic.com/source/xld.xlFAQ0002.html

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Pedro Serra" wrote in message ...
Is there a way to put the name of the excel file in a worksheet?

Thanks



  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 252
Default Cell equal to File Name

=MID(CELL("filename",A1),1+FIND("[",CELL("filename",A1)),FIND(".",CELL("filename",A1 ))-FIND("[",CELL("filename",A1))-1)

This only works if you have saved the file at least once.

"Pedro Serra" wrote:

Is there a way to put the name of the excel file in a worksheet?

Thanks

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Cell equal to File Name

Thanks

"Ron de Bruin" escreveu:

Hi Pedro

See
http://www.xldynamic.com/source/xld.xlFAQ0002.html

--
Regards Ron de Bruin
http://www.rondebruin.nl



"Pedro Serra" wrote in message ...
Is there a way to put the name of the excel file in a worksheet?

Thanks




  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 19
Default Cell equal to File Name

Thanks

"Sloth" escreveu:

=MID(CELL("filename",A1),1+FIND("[",CELL("filename",A1)),FIND(".",CELL("filename",A1 ))-FIND("[",CELL("filename",A1))-1)

This only works if you have saved the file at least once.

"Pedro Serra" wrote:

Is there a way to put the name of the excel file in a worksheet?

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
Help with this conditional IF statement C-Dawg Excel Discussion (Misc queries) 3 May 15th 06 06:01 PM
Custom functions calculating time arguments Help Desperate Bill_De Excel Worksheet Functions 12 April 25th 06 02:22 AM
File name equal cell contents cxlough41 Excel Discussion (Misc queries) 0 January 3rd 06 10:47 PM
When calling a different file, can I make the tab equal to a cell? thebigd08 Excel Discussion (Misc queries) 1 June 24th 05 12:39 AM
Copy cell format to cell on another worksht and update automatical kevinm Excel Worksheet Functions 21 May 19th 05 11:07 AM


All times are GMT +1. The time now is 11:34 AM.

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"