Open PPT (with password) using automation

B

Bill Elsey

Hi,

I am trying to open a PowerPoint presentation that has been protected by a
password using automation.

If there is no password involved, everything works fine. With a password,
oApp.Presentations.Open (...) fails and there is no password parameter in
the open method. Password is a property of Presentation, but how do you use
this in opening?

PowerPoint pops up a password dialog and waits.

Any help appreciated.

ELS
 
S

Steve Rindsberg

Hi,

I am trying to open a PowerPoint presentation that has been protected by a
password using automation.

If there is no password involved, everything works fine. With a password,
oApp.Presentations.Open (...) fails and there is no password parameter in
the open method. Password is a property of Presentation, but how do you use
this in opening?

By design, it's all but impossible; if you could open it programmatically, you
could pound away at it with a password generator trying one after another until
you broke it open.
 
Top