Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
chas975
 
Posts: n/a
Default Cell value as filename


It worked, thanks

=MID(CELL("filename",A2),FIND("[",CELL("filename",A2))+1,SUM(FIND({"[";"]"},CELL("filename",A2))*{-1;1})-1)

_Pascal__wrote back with this formula as a way to put the filename as a
cell value. Is there a way to remove the file extension. Example
"filename.xls" to "filename"?

Please let me know.


--
chas975
------------------------------------------------------------------------
chas975's Profile: http://www.excelforum.com/member.php...o&userid=34530
View this thread: http://www.excelforum.com/showthread...hreadid=542997

  #2   Report Post  
Posted to microsoft.public.excel.misc
CLR
 
Posts: n/a
Default Cell value as filename

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

Vaya con Dios,
Chuck, CABGx3


"chas975" wrote:


It worked, thanks

=MID(CELL("filename",A2),FIND("[",CELL("filename",A2))+1,SUM(FIND({"[";"]"},CELL("filename",A2))*{-1;1})-1)

_Pascal__wrote back with this formula as a way to put the filename as a
cell value. Is there a way to remove the file extension. Example
"filename.xls" to "filename"?

Please let me know.


--
chas975
------------------------------------------------------------------------
chas975's Profile: http://www.excelforum.com/member.php...o&userid=34530
View this thread: http://www.excelforum.com/showthread...hreadid=542997


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
substitute the filename in a cell reference with a string in another cell. flummi Excel Discussion (Misc queries) 11 February 22nd 06 01:14 PM
cell filename Carina Excel Discussion (Misc queries) 1 November 3rd 05 01:37 PM
How do I use a cell value as the filename in an external link? wattkisson Excel Worksheet Functions 1 July 8th 05 11:51 PM
Possible Lookup Table Karen Excel Worksheet Functions 5 June 8th 05 09:43 PM
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 10:14 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"