I'm trying to break a large presentation up into smaller pptx files.
I've tried the code below, but I don't think the export function works for pptx. When I run the macro I get Run-time error -2147467259 (80004005)': Slide (unknown member): Powerpoint can't export the slide(s) because no installed converter supports this file type.
Sub ExportCharts()
Dim savePath As String
Dim End_of_Pop As String
'Input box for End of POP for File Name
End_of_Pop = InputBox("Input End of POP (YYYYMMDD)")
'Create folder for files for sharepoint
MkDir ActivePresentation.Path & "\Week_Ending_" & End_of_Pop
'Export as PPTX
ActivePresentation.Slides.Range(Array(1, 2, 3, 4)).Export ActivePresentation.Path & "\Week_Ending_" & End_of_Pop & "\" & End_of_Pop & "_Weekly_AVA_Charts", "pptx"
End Sub