K
Keith
I wrote a subroutine in PowerPoint VBA, then added it to
the toolbar by following the steps: tools --> customize --
This works great except that the subroutine exists in only
one .ppt file, and is intended to be used only with
that .ppt file. Unfortunately, when the file containing
the "MyTask" subroutine is not open, the "MyTask" button
stays on the toolbar, and will even run (up to a point)
with errors, of course.
Is there a way that I can have the toolbar reference to
the "MyTask" subroutine appear on the toolbar only when
the correct .ppt file is open?
Thanks
Keith
the toolbar by following the steps: tools --> customize --
subroutine ie: "MyTask" onto the toolbar.commands --> macros --> drag the reference to my
This works great except that the subroutine exists in only
one .ppt file, and is intended to be used only with
that .ppt file. Unfortunately, when the file containing
the "MyTask" subroutine is not open, the "MyTask" button
stays on the toolbar, and will even run (up to a point)
with errors, of course.
Is there a way that I can have the toolbar reference to
the "MyTask" subroutine appear on the toolbar only when
the correct .ppt file is open?
Thanks
Keith