POWERPOINT VBA SWITCH DIFFERENT ACTIVE OPEN FILES?

bennybbb
Newcomer
bennybbb
Newcomer
Joined: 8:55 PM - Jun 20, 2016

9:15 PM - Jun 20, 2016 #1

I have a PowerPoint 2013 VBA macro that saves a file in a macro-free format.

Using SaveAsOther this keeps the original file open that is running the macro.

My question is......... How to I switch my macro focus from the original file to the macro-free file and visa-versa?

for example..... If my macro enabled original file is "automatedpitch.pptm" & my SaveAsOther command creates a file "finalpitch.pptx".

What is the syntax to change focus to finalpitch.pptx or auotmatedpitch.pptm?
Quote
Like
Share

albinopygmy
PowerPoint Addict
albinopygmy
PowerPoint Addict
Joined: 6:46 PM - Mar 20, 2008

9:42 AM - Jun 21, 2016 #2

It'll be easier to do a save-as for your finalpitch file to a .pptm and then do your coding for that file.
Quote
Like
Share