Good afternoon!
I am cleaning up a couple issues that might cause issues for someone else using the Workbook. The macro does everything I need it to do except to close the text file after copying the contents. Text file is generated by the AS400 and the name of the text file is variable, thus the wildcard in the file name. I need to modify the macro to close the text file when it is done with it. I'm running into issues.
I've tried Windows("S:\Estimator\QPQUPRFIL_GJH_QDFTJOBD*.txt").Activate
Windows.Close
I've tried some modifications of this with no luck at all.
Not sure if my issue is the wild card or if it is syntax or something else./
Any suggestions will be very much appreciated.
Thanks,
Bill
Bookmarks