Quantcast
Channel: VBForums
Viewing all articles
Browse latest Browse all 15578

PowerPoint - Informing other application that VBA macro is finished

$
0
0
Hi,

My VB6 application links with PowerPoint, creates a new deck based on a template, populates the slides, and then starts a VBA-macro to allow further customization of the deck. That works fine when creating one deck, but now this must be done in batch.

To ensure that all works well, these decks need to be processed one after another, so the question becomes how the "calling app" knows that PowerPoint is finished processing the VBA macro of a deck before starting the next.

A simple way could be to set a value in a registry entry, of create a dummy file like "finished.txt", and put the calling app in a waiting loop until the file pops up, or the registry value changes, but I was wondering if there is a more "advanced" way to do this.

Thanks in advance,
Erwin

Viewing all articles
Browse latest Browse all 15578

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>