We help IT Professionals succeed at work.

PowerPoint 2013 - How to place file name at the bottom of notes page

I would like to insert the file name at the bottom of each page of the notes/handouts.
What is the code I can insert (where the arrow is) for doing this?  I know it exists in MS Word and Excel but what is it in PPT?
Watch Question

Senior Technical Consultant at BrightCarbon
There's no simple field-based mechanism to do this in PowerPoint as there is in Word and Excel but it is possible using VBA if you want to go down that route:


Here's the an alternative macro you could use:

Option Explicit

' Place the full file name in all footers of all slides for the current presentation
' Macro written by Jamie Garroch of YOUpresent.co.uk
Sub AddFileNameToFooterPlaceholder()
  Dim osld As Slide
  Dim FileName As String
  With ActivePresentation
    FileName = .FullName
    For Each osld In .Slides
      With osld.HeadersFooters.Footer
        .Visible = msoTrue
        .Text = FileName
      End With
  End With
End Sub

Open in new window


Many thanks for this!!!