I am working on an add-in to automate some reporting.
- There is a report template PowerPoint file that includes links to image files of various charts and tables. (see attched)
- When the user clicks the "add to active report" button, the appropriate image file will be overwritten so that the new chart or table will show up in the report.
The problem I am having is that I need to update the links in the PowerPoint document. I would like to be able to say "create new report", copy the template and default images into a new folder, and update the links in the the new PowerPoint file so that the point to the image files in the new folder instead of the image files in the template folder. Any ideas how I might do this?
Many thanks,
John