POWERPOINT VBA SWITCH DIFFERENT ACTIVE OPEN FILES?

bennybbb
Newcomer
bennybbb
Newcomer
Joined: Jun 20 2016, 08:55 PM

Jun 20 2016, 09:15 PM #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: Mar 20 2008, 06:46 PM

Jun 21 2016, 09:42 AM #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