Update powerpoint slides through a macro

Wesley Hall 0 Reputation points


I have a regular, monthly powerpoint presentation due and the combined output (rtf files) leads to about 90 slides. Each month has its own designated folder (with a consistent naming structure, e.g. /Monthly Trending/2023-04/Output/). Is there a way to create/run a VBA macro that will automatically update the images in the powerpoint with the images from the new monthly data/output?

Ideally the code would know that File A.rtf, image 1 replaces the old image on Trending.ppt, slide 7. File A.rtf, image 5 replaces the image on Trending.ppt, slide 8. File B.rtf, image 5 replaces the image on Trending.ppt, slide 10. etc etc.

If ripping the images from a rtf file doesn't work, then resaving as a word doc is a minor inconvenience. Finding an automated way to update ppt images would definitely save a lot of manual effort of copying and pasting and deleting.



A family of Microsoft word processing software products for creating web, email, and print documents.
242 questions
A family of Microsoft presentation graphics products that offer tools for creating presentations and adding graphic effects like multimedia objects and special effects with text.
73 questions
Office Development
Office Development
Office: A suite of Microsoft productivity software that supports common business tasks, including word processing, email, presentations, and data management and analysis.Development: The process of researching, productizing, and refining new or existing technologies.
2,413 questions
0 comments No comments
{count} votes