I have multiple excel files with several connections to a single Access database.
The problem I have is that if more than one file is open at once no one can refresh the files to draw in the latest information from Access. Unfortunately, as these are used for forecasting the files there will pretty much always be more than one open.

What I would like to do is write a few bits of VBA which will

  1. Refresh all connections on opening the workbook then close the connection
  2. Re-open, refresh & save the connections on closing the workbook
  3. Re-Open, refresh & then close the connections whenever anyone clicks Refresh All

I just have no idea where to begin. Any help or guidance would be most welcome.