Unbound object frame takes forever to load (1 Viewer)

smbrr

Registered User.
Local time
Yesterday, 22:14
Joined
Jun 12, 2014
Messages
61
Hello,

I'm experimenting with unbound object frames to embed an excel sheet in Access. So far it worked pretty well but I noticed an issue:

If I have an excel application already open and busy, and then open my form, access freeze completely and won't do anything until excel stops being busy.

Is there a work around of some kind? My users will probably be running excel vba programs when they attempt to view this form, if there is no work around I'll have to drop the idea of embedding excel in access.

I'm pretty sure the issue comes from how excel behaves, whenever an "external" thing wants to use excel (opening a file in explorer, etc), it uses the very 1st excel application open on the computer at this moment, instead of creating its own instance, or at least scanning for how busy the open application is. Because of that, I think that even loading the preview in the access form will try to use the current excel process even though it's completely busy.

Any ideas?
 

llkhoutx

Registered User.
Local time
Today, 00:14
Joined
Feb 26, 2001
Messages
4,018
Test to see if the Excel file is open before trying to load it.
 

smbrr

Registered User.
Local time
Yesterday, 22:14
Joined
Jun 12, 2014
Messages
61
It is opening easily, in another excel instance than the busy one.
 

Users who are viewing this thread

Top Bottom