G
Guest
How can I get an Add-in to execute code in the Auto_Open macro only for
specific PPT files that I load? I've read through the examples and
downloaded the code samples, but everything I see only calls subroutines and
functions that are also in the add-in file. I.e., it executes every time
PowerPoint starts.
I'm written some code that will automatically update the footer of my slides
with the filename; so that it will always show the correct filename even when
someone does a SaveAs to a new name. But I don't want this same thing to
happen to any other PowerPoint slides I load/save.
Ideally, I'd like to do what Shyam Pillai did in his "autoevents" addin, but
he didn't provide the source code that I could find. I like the idea of
putting a "Auto_ShowBegin" routine in my slide presentation so that the
add-in calls it if the routine exists. But, when I try to do that in my
add-in, it won't compile because it can't resolve the name of the routine I
want to call in my PPT file. How does Shyam make an add-in that calls a
routine named "Auto_ShowBegin" when that routine exists in a different file
than the add-in?
Thanks for your help!
specific PPT files that I load? I've read through the examples and
downloaded the code samples, but everything I see only calls subroutines and
functions that are also in the add-in file. I.e., it executes every time
PowerPoint starts.
I'm written some code that will automatically update the footer of my slides
with the filename; so that it will always show the correct filename even when
someone does a SaveAs to a new name. But I don't want this same thing to
happen to any other PowerPoint slides I load/save.
Ideally, I'd like to do what Shyam Pillai did in his "autoevents" addin, but
he didn't provide the source code that I could find. I like the idea of
putting a "Auto_ShowBegin" routine in my slide presentation so that the
add-in calls it if the routine exists. But, when I try to do that in my
add-in, it won't compile because it can't resolve the name of the routine I
want to call in my PPT file. How does Shyam make an add-in that calls a
routine named "Auto_ShowBegin" when that routine exists in a different file
than the add-in?
Thanks for your help!