Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim pptfile As Object
On Error Resume Next Application.DisplayAlerts = false Set pptfile = CreateObject("powerpoint.application") pptfile.Visible = True Set pshow = pptfile.Presentations.Open(FileItem, Password:="") With pshow .Password = "test" ' ppt password .SaveAs FileItem .Close End With pptfile.Quit Application.DisplayAlerts = True End If How can i pass password from the vba code. If the file does not have a password then it catches error. Any help is greatly appreciated. thx! |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Password Protected Files | Excel Discussion (Misc queries) | |||
Password Protected Files | Excel Discussion (Misc queries) | |||
data from password protected files | Excel Programming | |||
Password protected files | Excel Discussion (Misc queries) |