G
Guest
I have a form that give the user the opportunity to view a report as the
usual Access report or as a Powerpoint presentation. The code itself works
as expected; however, I have a timing problem.
I need the report opened in order to update certain aspects and then grab a
chart from it. Once the report is opened my code copies the chart from the
Access report and pastes it into a Powerpoint slide. Unfortunately, even
though I have the code sequenced properly, the graph is grabbed before the
report is opened and updated. Thus a generic version of the graph that
doesn't represent the user's intent is wrongly used.
If I manually open the report first and then fire off the Powerpoint code,
everything works fine. So apparently I need to somehow implement code in my
form that tests for the report to be completely opened before kicking off the
Powerpoint code. Maybe a While/Wend would work, but what condition am I
looking for?
Thanks all,
Randall Arnold
usual Access report or as a Powerpoint presentation. The code itself works
as expected; however, I have a timing problem.
I need the report opened in order to update certain aspects and then grab a
chart from it. Once the report is opened my code copies the chart from the
Access report and pastes it into a Powerpoint slide. Unfortunately, even
though I have the code sequenced properly, the graph is grabbed before the
report is opened and updated. Thus a generic version of the graph that
doesn't represent the user's intent is wrongly used.
If I manually open the report first and then fire off the Powerpoint code,
everything works fine. So apparently I need to somehow implement code in my
form that tests for the report to be completely opened before kicking off the
Powerpoint code. Maybe a While/Wend would work, but what condition am I
looking for?
Thanks all,
Randall Arnold