question

DT-2502 avatar image
0 Votes"
DT-2502 asked LailaMohamed-7839 answered

Can Powerpoint pass the template's path to a new spawned presentation?

I am creating a simple Powerpoint VBA macro in a .POTM template, which will be available to several home users from a shared location. It should:
1. Find & read a named text file in the same shared location;
2. Read a new filename string listed in the text file;
3. Import slides from several .PPTX files (from the same shared location) listed in the text file, into the new presentation;
4. Save the new .PPTX file into the same shared location.

To do this, I need to pass the location (path) of the .POTM template file into the new presentation created when the .POTM is double-clicked.
(This shared location will map differently for each home user - outside my control).

Is this likely to be possible?

office-vba-dev
· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@DT-2502
As this issue is more related to VBA macro, to better help you, I would modify the tag. Thanks for your understanding.

0 Votes 0 ·

1 Answer

LailaMohamed-7839 avatar image
0 Votes"
LailaMohamed-7839 answered

Yes, PowerPoint can pass the template path to a new presentation

5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.