Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi,
I need to save the ppt file with passward. what changes shoud i make in the code. FileItem = "c:\test.ppt" Dim pptfile As Object Set pptfile = CreateObject("powerpoint.application") pptfile.Visible = True Set pShow = pptfile.Presentations.Open(FileItem) With pShow .SaveAs FileItem .Close End With Please guide asap. thx! Boss |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi
Try this: ..SaveAs FileItem, Password:="JustMe" Regards, Per "Boss" skrev i meddelelsen ... Hi, I need to save the ppt file with passward. what changes shoud i make in the code. FileItem = "c:\test.ppt" Dim pptfile As Object Set pptfile = CreateObject("powerpoint.application") pptfile.Visible = True Set pShow = pptfile.Presentations.Open(FileItem) With pShow .SaveAs FileItem .Close End With Please guide asap. thx! Boss |
#3
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
That does not work. that works in excel..
In ppt below is the code i got... With pShow .password = "test" .SaveAs FileItem .Close End With thx! "Per Jessen" wrote: Hi Try this: ..SaveAs FileItem, Password:="JustMe" Regards, Per "Boss" skrev i meddelelsen ... Hi, I need to save the ppt file with passward. what changes shoud i make in the code. FileItem = "c:\test.ppt" Dim pptfile As Object Set pptfile = CreateObject("powerpoint.application") pptfile.Visible = True Set pShow = pptfile.Presentations.Open(FileItem) With pShow .SaveAs FileItem .Close End With Please guide asap. thx! Boss . |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Remove password on 'file save as' | Excel Programming | |||
How do I save a password protected .xlsm file containing old macro | Excel Programming | |||
Save a File with a Password Q | Excel Programming | |||
Save file without a password req | Excel Programming | |||
Save protected file into unprotected file without password | Excel Programming |