Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
nathan
 
Posts: n/a
Default import external data from changing file name

I would like to set up an external data link to import data from a text file
into excel. The problem is that I need the link to look for a new file name
each day. So, each day I need to import the data from the new file to the
same location in Excel. The names of the text files will always follow a
particular standard based on the current date (i.e. DATABASECCYYMMDD.TXT).

How can I have the link always import data from the text file with the
current date in its name?

Thank you,
Nathan

  #2   Report Post  
Ron Coderre
 
Posts: n/a
Default

If your text file is automatically generated by a scheduled export from a
database, (in my case, overnight processing of GL, etc) I have the IT group
generate 2 text files. One with the date stamp to retain history and a
second with a Non-Changing file name, like: GLDOWNLOAD.TXT (overwriting the
file if necessary). That way, no special programming is necessary and links
always pull from the same filename.

Would that work in your situation?

Regards,
Ron
  #3   Report Post  
nathan
 
Posts: n/a
Default

That is definitely a solution. The problem is the txt file is created via
some vendor's software and not sure if it can be set up to write the files
like this. I will check it out. Thanks.

Nathan

"Ron Coderre" wrote:

If your text file is automatically generated by a scheduled export from a
database, (in my case, overnight processing of GL, etc) I have the IT group
generate 2 text files. One with the date stamp to retain history and a
second with a Non-Changing file name, like: GLDOWNLOAD.TXT (overwriting the
file if necessary). That way, no special programming is necessary and links
always pull from the same filename.

Would that work in your situation?

Regards,
Ron

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
File Error: Data May Have Been Lost Tbird2340 Excel Discussion (Misc queries) 8 March 20th 05 05:31 PM
Excel: Use a name with external workbook reference for data valida Fishyken Excel Worksheet Functions 3 March 11th 05 10:24 PM
refresh external data on a protected sheet ajf Excel Discussion (Misc queries) 0 March 11th 05 09:01 AM
Excel 97/2000 - Help with looking up external data. Adam Harris Excel Worksheet Functions 1 February 18th 05 10:43 AM
Import External Data Martin Excel Worksheet Functions 1 February 9th 05 06:14 AM


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