Hello,
I have an excel application (xlsm) and a database file (xlsx).
I open/close the xlsx file from the xlsm file - using open/close file and run queries using connection.
The xlsx file is located on a server and multiple users are connecting it.
In some computers the xlsx won't close.
I noticed it when I finished working with my xlsm file and intended to work with different excel file.
What can cause this ?
How can I insure the file is closed after close command ?
I am using the following code to open and close the workook:
Call OpenFileXLS(DBWorkbookName, DBWorkbookPath, "write")
Set TargetWorkbook = ActiveWorkbook
...
TargetWorkbook.Close saveChanges:=True
Thank you for your help
Bookmarks