Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
I assume that there is only one file in the directory that starts with
ni_wa_subinv_trans_ If that is the case you can use the Dir function similar to you would in DOS. Dir "C:\ni_wa_subinv_trans_*.txt" this will return the full file name and you can then open the file... HTH "Michael from Austin" wrote: I am trying to get VBA to open a text file called ni_wa_subinv_trans_XXXXXXX and format in the Import wizard. The "ni_wa_subinv_trans_" will always be the same , the "XXXXXX" will always be different. What can I do? -- Regards, Michael |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
VBA Assistance needed to test for open file in a different direct | Excel Discussion (Misc queries) | |||
Write Procedure With Logic Test To Open File From Given Directory | Excel Programming | |||
Open file - How to test the path ? | Excel Programming | |||
Test for Open File | Excel Programming | |||
Open delimited text file to excel without changing data in that file | Excel Programming |