Home |
Search |
Today's Posts |
#6
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Glad i could help
-- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "Valdemar" wrote: Hi Mike, fantastic, it works and I am happy Thanks a lot, Valdemar Mike H pÃ*Å¡e: Hi, Not tested but should work Mydate = Format(Now, "yyyymmdd") MyPath = "C:\Data_" Workbooks.OpenText Filename:=MyPath & Mydate & ".txt" -- Mike When competing hypotheses are otherwise equal, adopt the hypothesis that introduces the fewest assumptions while still sufficiently answering the question. "Valdemar" wrote: 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 |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to Open Daily Report | Excel Discussion (Misc queries) | |||
How to code VBA or else to open Excel and run Macro as Daily routi | Excel Discussion (Misc queries) | |||
Differente .xls files generated when VBE window closed vs open | Excel Programming | |||
accumulating values generated daily | Excel Worksheet Functions | |||
I need to create a macro that extracts daily files data to a mont. | Excel Programming |