MATLAB Answers

Powerpoint content of placeholders

4 views (last 30 days)
RV on 29 May 2020
Answered: Image Analyst on 30 May 2020
Seems simple enough but I need help.
I have a pptx file will multiple slides and each one with a title.
How can I import the powerpoint and then read/show all of the titles and their content (i.e. creat a list of the title texts), not just their tags or ids, but the actual content?


Sean de Wolski
Sean de Wolski on 29 May 2020
What's the use case for needing to know this? Do you have placeholders in the text that need to be replaced?
Adam Danz
Adam Danz on 29 May 2020
Why not do this within Powerpoint? I recently had to do something similar in order to make a table of contents.
RV on 30 May 2020
I'm working on concatenating a collection of pptx files. They all use the same pptx page template thus having similar layout. But there will be a lot of overlap. Therefore I want to import each one and read the title content so that I can concetnate without duplicating. This will take far to long to scrub them one by one. And yes I do have place holders.

Sign in to comment.

Answers (1)

Image Analyst
Image Analyst on 30 May 2020
What I usually do is to record a macro to do what I want. Then I create an ActiveX server to do the same commands from MATLAB. Attached are demos where I've done that for Excel. Just do something similar in Powerpoint.


Sign in to comment.

Translated by