If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > open a password protected powerpoint file

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 05-23-08, 05:33
eddiesvoicebox eddiesvoicebox is offline
Registered User
 
Join Date: Sep 2004
Location: London
Posts: 63
open a password protected powerpoint file

i'm running a excel/vba portal and i'm trying to open a password protected powerpoint file from within the portal. all the excel documents open fine, but i'm having problems getting the powerpoint files to open. pp always requests a password and i can't declare the password in vba. at the moment the code i am using is:

POWERPOINT:
X = ActiveSheet.Cells(7, 13).Value
Dim y As PowerPoint.Application
Set y = CreateObject("PowerPoint.Application")
y.Visible = True
y.Presentations.Open Filename:=X

EXCEL:
X = ActiveSheet.Cells(9, 13).Value
Workbooks.Open Filename:=X, Password:="chuck", ReadOnly:=True

does anyone know of any way i can open powerpoint with a password using vba?

thanks.
Reply With Quote
  #2 (permalink)  
Old 06-06-08, 13:27
stuschmied stuschmied is offline
Registered User
 
Join Date: May 2008
Location: Raleigh, NC
Posts: 151
Hey,

I just spent about 35 minutes surfing the web and I can't find a command line switch to open a password protected ppt. file. If I do come across one, I'll get it to you.

Stu
__________________
--If its free, take it for what its worth!
Reply With Quote
  #3 (permalink)  
Old 06-09-08, 09:20
eddiesvoicebox eddiesvoicebox is offline
Registered User
 
Join Date: Sep 2004
Location: London
Posts: 63
Stu, thanks for looking into this. Still havent found a solution to the problem myself either, if i do will post here.

Thanks

EV
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On