ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   External database causing problems? (https://www.excelbanter.com/excel-programming/349503-external-database-causing-problems.html)

Michael Malinsky

External database causing problems?
 
I posted a question a while ago regarding code that accessed an Access
database. Occasionally, when I try to open the Excel file, I get a
message that the file is locked for editing. I am unsure as to why I
am getting this error. Tom Ogilvy responded by stating "Make sure the
backgroundquery property is set to false would be my guess. "

So two questions, is Tom's solution the correct one and if so, how do I
properly include this in my code?

Thanks,
Mike.



All times are GMT +1. The time now is 05:18 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com