slide ID in footer

  • Thread starter Thread starter Margy
  • Start date Start date
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.
 
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.
..
..
 
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.
..
..
 
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
 
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?
 
Back
Top