A family of Microsoft spreadsheet software with tools for analyzing, charting, and communicating data
Hey I'm your man! I have about 10 files that do exactly this every single morning for me. Because I don't want to have to open an Excel file and click refresh every day just for my team to see some updated reports.
The way I did it was to create an "OnOpen" macro that runs every time the file is opened, then I scheduled a task to open that Excel file at 4am every day.
The Excel file that opens is really just the macro brains, then it in turn opens the 2nd file, refreshes it, closes it, then closes itself.
You're VBA is already pretty good progress!