powerpoint FileFormat:= #

almagg

Well-known Member
Joined
Aug 21, 2002
Messages
705
i used this to get around saving a downloaded xls excel file to xlsx which in the process was creating a folder with the web components of the file

ActiveWorkbook.SaveAs Filename:=strNewTycoReport, FileFormat:=51

anyways i am having a problem with the dialog box being hidden behind the just opened powerpoint template which i want to saves a pptx.

oPPTFile.SaveAs Application.GetSaveAsFilename(fileFilter:="PowerPoint((*.pptx),*.pptx")

so i want to try the above with saving the powerpoint but need to replace the '51' with the correct value

ActivePresentation.SaveAs Filename:=[new file name], FileFormat:= ?

thanks
 

Excel Facts

Shade all formula cells
To shade all formula cells: Home, Find & Select, Formulas to select all formulas. Then apply a light fill color.

Forum statistics

Threads
1,207,392
Messages
6,078,223
Members
446,323
Latest member
fishezuk

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top