Hello Fellow Exceleers!
Using XP/Access 2007/Excel 2007
I have a sheet with a data query that brings in an Access table. It is refreshed in a macro as follows:
The problem is - while one user has that sheet open - not actively refreshing - just open, the database locks. The database has other tables that people need to update in parallel.
Has anyone else experienced this? Is there additional code I ought to have used to close the connection or is this the way it rolls?
Thanks
Tom
Using XP/Access 2007/Excel 2007
I have a sheet with a data query that brings in an Access table. It is refreshed in a macro as follows:
Code:
Sub UpdateRefData()
Sheets("RefData").Range("A1").ListObject.QueryTable.Refresh BackgroundQuery:=False
End Sub
The problem is - while one user has that sheet open - not actively refreshing - just open, the database locks. The database has other tables that people need to update in parallel.
Has anyone else experienced this? Is there additional code I ought to have used to close the connection or is this the way it rolls?
Thanks
Tom