T
Todd Waldron
Hi all,
I've created an MS-Access application that uses COM Automation to update an
existing PPT template with data from an Excel file. The problem I'm having
is the PPT is visible while it is being updated (while the automation
procedure is running). I'd like to suppress/hide the PPT while it is being
updated so the UI of the MS-Access controller application will stay active
(my next step is to add a progress meter to the UI).
The beginning of the PPT portion of my automation has the following:
***Code Start***
Dim appPPT As PowerPoint.Application
Set appPPT = New PowerPoint.Application
appPPT.Visible = True
***Code End***
If I set [appPPT.Visible = False] I get:
Run-time error '-2147188160(80048240)':
Application (unknown member): Invalid request. Hiding the application window
is not allowed.
Is it possible to suppress/hide the PPT?
Thanks in advance.
Todd Waldron
Austin, Texas
I've created an MS-Access application that uses COM Automation to update an
existing PPT template with data from an Excel file. The problem I'm having
is the PPT is visible while it is being updated (while the automation
procedure is running). I'd like to suppress/hide the PPT while it is being
updated so the UI of the MS-Access controller application will stay active
(my next step is to add a progress meter to the UI).
The beginning of the PPT portion of my automation has the following:
***Code Start***
Dim appPPT As PowerPoint.Application
Set appPPT = New PowerPoint.Application
appPPT.Visible = True
***Code End***
If I set [appPPT.Visible = False] I get:
Run-time error '-2147188160(80048240)':
Application (unknown member): Invalid request. Hiding the application window
is not allowed.
Is it possible to suppress/hide the PPT?
Thanks in advance.
Todd Waldron
Austin, Texas