activex PowerPoint Application Saving as ".ppt" default, not ".pptx" ?
Ältere Kommentare anzeigen
I am trying to write a powerpoint using activex and in doing so specify the name of the file I would like to save as something like 'MySlides.pptx'.
I have 2010 office loaded on my PC, but for some reason it is saving the new file as 'MySlides.pptx.ppt' which is defaulting to 2007 format of '.ppt'. How can I specify what format of slides I would like to open and save the presentation as? Thanks
%HERE IS HOW I CALL THE CODE, SIMPLIFIED
filespec = 'MySlides.pptx';
ppt = actxserver('PowerPoint.Application');
op = invoke(ppt.Presentations,'Open',filespec,[],[],0);
%THEN MODIFY SLIDES...
%NOW SAVE
invoke(op,'SaveAs',filespec,1);
Akzeptierte Antwort
Weitere Antworten (1)
Tony
am 17 Mai 2013
0 Stimmen
You may effectively work with powerpoint files with to repair ppt file
Kategorien
Mehr zu Simulink Report Generator finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!