I've got all my VBA macros set up and working.
I just need to add one more step.
Since all the activity is going on in FileA I think it makes sense to keep the VBA code in that file.
To get things started I need to copy data from FileB into FileA onto worksheet NewData.
The problem is that FileB's name will always be changing!
It will always start with 'xl00000' but will have different numbers after that and end with .xls
What code could I use to copy the data between these two files?
Opening the two files manually is no problem.
Bookmarks