Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Excel / New Users / December 2005

Tip: Looking for answers? Try searching our database.

Add filename in a new column

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
OnlineWealth - 30 Dec 2005 23:46 GMT
Is it possible to add the actual name of the file in a new column when I
open each file with Excel.

I have multiple files that I need to have the file name included with
each row within the file.

So, I'd like to be able to just open each file and it automatically
inserts a new column and includes the file name in each cell for every
row.

Is this possible?

Thanks,

Mike

Signature

OnlineWealth

tkt_tang@hotmail.com - 31 Dec 2005 13:46 GMT
Say, =Cell("Filename",A1) to be placed in worksheet cell A1.

Please refer to the Help file for details. Regards.
OnlineWealth - 31 Dec 2005 16:02 GMT
Thanks that helps, although it also includes the path of the file i.e.
C:\Folder\Filename.

Would you happen to know how to exclude that in the code?

Thanks,

Mik
OnlineWealth - 31 Dec 2005 16:02 GMT
Thanks that helps, although it also includes the path of the file i.e.
C:\Folder\Filename.

Would you happen to know how to exclude that in the code?

Thanks,

Mik
Dave Peterson - 31 Dec 2005 16:22 GMT
Chip Pearson has a bunch of variations at:
http://www.cpearson.com/excel/excelF.htm

search for Filename.

> Thanks that helps, although it also includes the path of the file i.e.,
> C:\Folder\Filename.
[quoted text clipped - 10 lines]
> OnlineWealth's Profile: http://www.excelforum.com/member.php?action=getinfo&userid=30017
> View this thread: http://www.excelforum.com/showthread.php?threadid=497075

Signature

Dave Peterson

OnlineWealth - 31 Dec 2005 16:43 GMT
Got it. That was easy,  Thanks Dave.

Mike

Signature

OnlineWealth

 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.