i do want them in a the same message and i actually did a test with four files in a seperate workbook (3 files which existed and 1 that didnt) and it worked fine. i wonder if it has to do with the formulas i have on the worksheet. this is the line where the error occurs.
the workbook itself is a data query where the data is refreshed everyday. the files i need to get are listed in a certain format (year,day,month customer name filenumber) so i entered a formula in column S reading the other columns (columns A - R) for this data and putting them in that format. i then put a formula in column T to take the values in column S (which had blanks) and list all rows that had non blank values. I've attached an example of what i'm talking about. The Columns are filtered out of view(which im not sure if it makes a difference or not)test1234.xlsm the weird part about it is it actually copies all the files (except for freeman which is the lone file that isnt in the source folder) but it fails just before the message window should appear.
Bookmarks