Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
ExcelMonkey
 
Posts: n/a
Default Return File Name to cell


I posted this yesterday but cannot seem to find it through the site I am
using - Exceltip.com. As such I am posting it again.

I want to return the file name to a cell in my spreadsheet. I know I
can use the Cell("filename") function, but this provides the path. I
cant seem to figure out how edit the string do that only the file name
shows up in the formula.

Thanks.


--
ExcelMonkey
------------------------------------------------------------------------
ExcelMonkey's Profile: http://www.excelforum.com/member.php...fo&userid=5221
View this thread: http://www.excelforum.com/showthread...hreadid=318741

  #2   Report Post  
Frank Kabel
 
Posts: n/a
Default

Hi
see:
http://www.xldynamic.com/source/xld.xlFAQ0002.html

"ExcelMonkey" wrote:


I posted this yesterday but cannot seem to find it through the site I am
using - Exceltip.com. As such I am posting it again.

I want to return the file name to a cell in my spreadsheet. I know I
can use the Cell("filename") function, but this provides the path. I
cant seem to figure out how edit the string do that only the file name
shows up in the formula.

Thanks.


--
ExcelMonkey
------------------------------------------------------------------------
ExcelMonkey's Profile: http://www.excelforum.com/member.php...fo&userid=5221
View this thread: http://www.excelforum.com/showthread...hreadid=318741


  #3   Report Post  
ExcelMonkey
 
Posts: n/a
Default


Thanks Frank!


--
ExcelMonkey
------------------------------------------------------------------------
ExcelMonkey's Profile: http://www.excelforum.com/member.php...fo&userid=5221
View this thread: http://www.excelforum.com/showthread...hreadid=318741

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
Read Text File into Excel Using VBA Willie T Excel Discussion (Misc queries) 13 January 8th 05 12:37 AM
Embedding file name in a Cell Mark Sowerbutts Links and Linking in Excel 2 January 5th 05 03:32 PM
Using Jet to read excel file returns blank for last cell - sometim Ron Excel Discussion (Misc queries) 1 December 9th 04 08:21 AM
Can vlookup return multiple matches in a single cell? cchristensen Excel Discussion (Misc queries) 3 December 2nd 04 01:56 AM
Function to return colour of formatted cell ExcelMonkey Excel Worksheet Functions 3 November 1st 04 05:54 PM


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