slide ID in footer

M

Margy

I develop Framemaker documents that contain PowerPoint
slides. In PowerPoint, can the ID of a slide populate the
slide footer in lieu of page numbers? (The ID I am
referring to is the long numerical string that is
displayed when an OLE link in FrameMaker is broken.) The
issue has to do with identifying pages with a unique
number that is not subject to change in order within the
slide set.
 
B

Bill Dilworth

Create this macro in PowerPoint and run.

===============
Sub RefIndex()
Dim SldNum As Integer
For SldNum = 1 To ActivePresentation.Slides.Count
With ActivePresentation.Slides(SldNum).HeadersFooters
.Footer.Text = "Reference #" & _
ActivePresentation.Slides(SldNum).SlideID
.Footer.Visible = msoTrue
End With
Next SldNum
End Sub
===============

Regardless of where you move the slide, the reference number will remain
constant. You may need to format the master to get the footer fonts and
colors right.

--
Bill Dilworth, Microsoft PPT MVP
===============
Please spend a few minutes checking vestprog2@
out www.pptfaq.com This link will yahoo.
answer most of our questions, before com
you think to ask them.

Change org to com to defuse anti-spam,
ant-virus, anti-nuisance misdirection.
..
..
 
B

Bill Dilworth

While the previous post is not a complete answer to your coding needs, it
will enable you to build a macro that will identify a unique slide within a
presentation (regardless of that slide's current location within that
presentation). Combine this with a path, as Steve suggested in your
previous post, and you should be able to create a reliable link to the slide
(as long as the presentation's path remains unchanged and the slide is not
deleted).

Please post back if you need help with any of these steps.

--
Bill Dilworth, Microsoft PPT MVP
===============
Please spend a few minutes checking vestprog2@
out www.pptfaq.com This link will yahoo.
answer most of our questions, before com
you think to ask them.

Change org to com to defuse anti-spam,
ant-virus, anti-nuisance misdirection.
..
..
 
G

Guest

Bill

Many, many thanks for your suggestion. I have forwarded it to my manager (the originator of the question). His name is Mark Powell, and he is currently out of town, but when he returns, if he has any questions, I will direct him to you

Margy
 
Joined
Oct 4, 2014
Messages
1
Reaction score
0
Hello! Thanks for posting this.

I had a little bit of trouble though. I'm using PPT 2010 with Sections to partition some of the slides. It appears that the updating process doesn't make it through all the slides. After the first Section, all the remaining slides echo the same slide number.

Shouldn't this code work across all sections?
 

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