Opening password protected powerpoint in VisualBasic

  • Thread starter Thread starter Nitin
  • Start date Start date
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.
 
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
 
Yes, Brian. I'm listening : )
I did reply to his other posting may be he has not seen my reply yet.

Regards
Shyam
 
Back
Top