Home > Software engineering >  MFC how do I remove a powerpoint slide?
MFC how do I remove a powerpoint slide?

Time:10-07

CApplication pptApp;
.
CPresentations presentations.=pptApp get_Presentations ();
//open the test PPT
CPresentation outPresention=presentations. Open (cstrings (strPath + "\ \ test. The PPTX"), 0, 0, 1);

If you need to remove the test. The PPTX slides or all slides in a few pages, but do not delete the test. The PPTX itself, could you tell me how to achieve?

CodePudding user response:

http://blog.csdn.net/vanquishedzxl/article/details/8515038
http://blog.csdn.net/henryjee/article/details/7049887

CodePudding user response:

This function should not offer, you might as well directly modify PPT

CodePudding user response:

The MSDN for this API
And there's a method in the operation of the PPT and then record macro
So that we can control the vba in the corresponding API

CodePudding user response:

Start recording macros in PowerPoint 2003, manual, complete the required function end record macros, press Alt + F11 key, check just record macro corresponding VBA code,
  • Related