Hi All
I have this Macro for Excel which imports 1 file C:\datafiles\user1-data-1.txt into cell E52:
I'd like to be able to set the file name to import based on the name of excel file that I'm importing data to.![]()
Please Login or Register to view this content.
I.E
This piece:
Would become:![]()
Please Login or Register to view this content.
I.E if the Main Excel file name is CoolDoc.xls, the macro imports CoolDoc-data1.txt.![]()
Please Login or Register to view this content.
Thanks!
-jouell
Bookmarks