LinkBack Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 8
Default How can macro open daily generated files?

Hi all,
please can anybody help me with xls macro? I receive on daily basis txt
files with name that contains actual date. Typically "Data_20100120.txt". I
want to use macro, open files, modify data and add them to another workbook.
That's no problem, but I don't know, how to daily open files with different
name (date).

I am not sure, how can I modify open sentence.....
Workbooks.OpenText Filename:="C:\Data_20100120.txt"
Many many thanks for your help.

Valdemar
 
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
Macro to Open Daily Report KurtB Excel Discussion (Misc queries) 2 September 9th 08 02:14 PM
How to code VBA or else to open Excel and run Macro as Daily routi Ale Excel Discussion (Misc queries) 4 November 8th 07 05:34 PM
Differente .xls files generated when VBE window closed vs open Mark Excel Programming 3 June 26th 07 02:15 PM
accumulating values generated daily Tracey Excel Worksheet Functions 1 April 15th 06 08:07 AM
I need to create a macro that extracts daily files data to a mont. Juan Excel Programming 0 February 27th 06 08:21 PM


All times are GMT +1. The time now is 07:12 AM.

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"