I’m trying to open a presentation with macros, draw programmatically something on it and then save it.
But it seems that when saving, Aspose.Slides.Pptx removes the slide with macros completely from the presentation and replaces it with default slide.
Is there anything to do?
Here is a sample code:
private void onMacroTemplate_Click(object sender, EventArgs e)
PresentationEx pres = new PresentationEx(@“C:\temp\template1.pptm”);
Template1.pptm is inside the enclosed zip-file.
After testing some more, I found the following:
After removing the push buttons from the source template, no slides get removed from the result.
However, pressing Alt-F11 to edit the macro, causes Powerpoint to crash. Also, trying to remove a slide from presentation causes PPT to crash.
Hi Olavi Laitala,