Opening password protected powerpoint in VisualBasic

N

Nitin

i am writting code to convert ppt2gif in
VisualBasic......i want to
open
ppt file by this command....
Set pre = ppt.Presentations.Open(filename:=c:\xyz)

but powerpoint 2002 has password also......to get some
function of this
kind
Set pre = ppt.Presentations.Open(filename:=c:\xyz,
password="abcd")
, what should i do ,. do i need to install new version of
VBA or new
version of VB ie VB.NET.
 
B

Brian Reilly, MS MVP

I'm fairly certain that PowerPoint's object model does not permit
passing the password like Excel does. Shyam has commented on this in
the past so you might google on Shyam and Password and PowerPoint to
confirm that.
Or he'll pop in here and confirm it. Shyam, you listening today?

Brian Reilly, PowerPoint MVP
 
S

Shyam Pillai

Yes, Brian. I'm listening : )
I did reply to his other posting may be he has not seen my reply yet.

Regards
Shyam
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top