Hi all,
I need help for a real difficult problem. In my Excel sheet I get Data via macro from an Access File. Sometimes a query is the source and sometimes a table. Everything is working fine.
The Problem is, as long as I have opened the Excel File, I can't edit the Access Database (read-only). If I want to make changes in the Access file, I have to close the Excel File, since that means closing the connection to Excel.
The question is: How can I close the connection to Excel with VBA without closing the complete Excel file? Reason being is that other people can work with the Access File while the Excel File is still open.
Can someone help?
BTW:
That's how the code which retrieves the data from Access looks like:
Bookmarks