How do I determine Slide ID

  • Thread starter Thread starter Mark Powell
  • Start date Start date
M

Mark Powell

Simple question: I need to know the Slide ID of a given
slide. How can I find this out?

Background: I am OLE linking slides to FrameMaker
documents. When there is a linking problem, the error
always identifies the slide by its ID.
 
Mark,
You can obtain the Slide id by running the following code in the immediate
window.
ActivePresentation.Slides(1).SlideID

if you need the slide index then
ActivePresentation.Slides(1).SlideIndex

Regards
Shyam Pillai
 
Simple question: I need to know the Slide ID of a given
slide. How can I find this out?

Select the slide in slide sorter view or just move to it in normal view then
run this macro:

Sub ShowSlideID()
MsgBox ActiveWindow.Selection.SlideRange(1).SlideID
End Sub

You might want to paste this code into another presentation rather than the one
you're investigating so as not to have it trigger macro warnings on other
computers.

There's also an inexpensive "Plus" update to our free PPTools Starter Set that
adds a kind of "inspector" tool which tells you the ID of a selected slide and
a whole lot more useful information about selected slides/shapes etc.

http://www.pptools.com/
 
Stupid question: how do I run this code?
-----Original Message-----
Mark,
You can obtain the Slide id by running the following code in the immediate
window.
ActivePresentation.Slides(1).SlideID

if you need the slide index then
ActivePresentation.Slides(1).SlideIndex

Regards
Shyam Pillai





.
 
Back
Top