How do I determine Slide ID

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.
 
S

Shyam Pillai

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
 
S

Steve Rindsberg

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/
 
G

Guest

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





.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top