Thanks Steve - that'll do it.
Out of curiosity, do you know if the menu item for the Add-in can be grayed
out (therefoere not useable) until a presentation is open?
Thanks again
Trevor
> Thanks Steve - that'll do it.
>
> Out of curiosity, do you know if the menu item for the Add-in can be grayed
> out (therefoere not useable) until a presentation is open?
If you implement an event handler, it should be, yes.
Make PPT respond to events
http://www.rdpslides.com/pptfaq/FAQ00004.htm
Off top of head, you'd want to trap the PresentationClose event and disable the
menu if there are no presentations active; and trap the New Presentation and
PresentationOpen events to enable the menu.
It might be enough just to work with the WindowActivate event; enable the menu if
there's a presentation active and disable it if not.
> Thanks again
>
[quoted text clipped - 23 lines]
> > PPTools: www.pptools.com
> > ================================================
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Trevor Williams - 27 Jun 2006 09:41 GMT
Splendid, I'll give it a go.
Thanks again
> > Thanks Steve - that'll do it.
> >
[quoted text clipped - 46 lines]
> PPTools: www.pptools.com
> ================================================