Hi,
Ok, thanks to a lot of help from here and a couple of excellent sites, I am
getting closer to getting my timer add-in working.
I have managed to add the necessary entries to the "Insert" menu and the
"Drawing" toolbox to call up my inser routine.
I found an article on Microsoft's site which allows me to detect if the user
is currently editing a slide or a slide master. If it's a slide, then I can
get it's index and add the timer to it. How do I do the same if it's a
master, though?
Cheers,
Paul
Steve Rindsberg - 24 Sep 2007 05:25 GMT
> Hi,
>
[quoted text clipped - 8 lines]
> get it's index and add the timer to it. How do I do the same if it's a
> master, though?
Sub Thing()
With ActiveWindow.View
Debug.Print .Type
Debug.Print .Slide.Name
End With
End Sub
If .Type is 9 or 8 or 2, you're in Slide or Title Master view; Slide.Name will
give you the name of the master you're on. Does that do it?
-----------------------------------------
Steve Rindsberg, PPT MVP
PPT FAQ: www.pptfaq.com
PPTools: www.pptools.com
================================================
Paul Simpson - 26 Sep 2007 21:30 GMT
Many thanks - pointed me in the right direction ;-)
Paul