Excel won't refresh - Access database locked

wrek

Registered User.
Local time
Today, 15:32
Joined
Jun 14, 2001
Messages
88
I have two queries which are data sources for an Excel worksheet...

My problem: If I try to refresh the Excel file when the database is OPEN, I get an error msg saying "The database has been placed in a locked state...blah blah"

[I'm running Access 02 - never had this problem in previous versions]

VBA (command button) opens the Excel file externally through Access after going through the necessary computation.

As an alternative, I could create a (new) workbook object each time through Access, but then I cannot use the graphs that I want to build and refresh in my Excel file.

Any suggestions?
 

Users who are viewing this thread

Back
Top Bottom