I have a macro that runs daily. It formats and then copies data from one workbook to another. The first workbook, call it A, needs to be closed after I'm done with it, but it's name is different every day. workbook B stays the same except that I'm adding the data from A to it. I've got everything else working just fine except closing A. I try closing A before switching to B, but then it doesn't copy the data. I tried going back to B and using just the first part of its name (since the first part stays the same then it has the date after) and using * to mark for the rest. This did not work either.
Anyone have any suggestions?
Bookmarks