Hi Again
I have a code to export active presentation to PDF in Excel macro.
When i run the code, i am getting error for ExportAsFixedFormat line
as : "Method 'ExportAsFixedFormat' of object'_Presenatation' failed.
Anyone have any suggestion
I have a code to export active presentation to PDF in Excel macro.
Code:
Dim PPApp As Object
Dim PPPres As PowerPoint.Presentation
Dim PPSlide As PowerPoint.Slide
Set PPApp = GetObject(, "Powerpoint.Application")
Set PPPres = PPApp.ActivePresentation
Dim SaveName As String
SaveName = ReportSavePath
PPPres.ExportAsFixedFormat SaveName, ppFixedFormatTypePDF, ppFixedFormatIntentPrint
When i run the code, i am getting error for ExportAsFixedFormat line
as : "Method 'ExportAsFixedFormat' of object'_Presenatation' failed.
Anyone have any suggestion