S
Suggy1982
Hi,
I have an access database, which open an excel file via VBA and then run
some VBA which has been written in the excel file.
The purpose of the vba and the excel file is to retrieve some data from
Essbase. The vba and the Essbase retrieve work fine when I run them directly
from the excel file, without the involvement of access.
However when I run the whole thing from access, access doesn’t wait for the
Essbase retrieve to complete before it saves and closes the excel file and
continues running the vba in access.
Is there a way to make access wait until excel has finished before it
continues. I realise I could use application.wait, however the time taken for
the Essbase retrieve might not always be the same and I do not want to put in
there a silly time of say 10mins and have the system waiting there.
Any help would be appreciated.
Regards,
Adrian
I have an access database, which open an excel file via VBA and then run
some VBA which has been written in the excel file.
The purpose of the vba and the excel file is to retrieve some data from
Essbase. The vba and the Essbase retrieve work fine when I run them directly
from the excel file, without the involvement of access.
However when I run the whole thing from access, access doesn’t wait for the
Essbase retrieve to complete before it saves and closes the excel file and
continues running the vba in access.
Is there a way to make access wait until excel has finished before it
continues. I realise I could use application.wait, however the time taken for
the Essbase retrieve might not always be the same and I do not want to put in
there a silly time of say 10mins and have the system waiting there.
Any help would be appreciated.
Regards,
Adrian