Hi,
I know this is an excel forum but there are many VBA experts here. I am using an vba sub from excel to create a powerpoint slide.
I need to know how to add slide numbers in my powerpoint slides. This is done manually in 2007 by insert tab > slide number > check off slide number in dialog box > click ok.
Since PPT 2007 does not allow you to record macros, I cannot use to see how it is done in VBA.
I have tried this but no success:
Where PP is defined as
Any of you guru's know how to accomplish this? Or maybe perhaps anyone have an old version of PPT (where they still allow you to record macros) and can record this and paste the results into this thread?
Thanks a bunch.
I know this is an excel forum but there are many VBA experts here. I am using an vba sub from excel to create a powerpoint slide.
I need to know how to add slide numbers in my powerpoint slides. This is done manually in 2007 by insert tab > slide number > check off slide number in dialog box > click ok.
Since PPT 2007 does not allow you to record macros, I cannot use to see how it is done in VBA.
I have tried this but no success:
Code:
With PP.Slides.Range.HeadersFooters
.SlideNumber.Visible = msoTrue
End With
Where PP is defined as
Code:
Dim PP as PowerPoint.Presentation
Any of you guru's know how to accomplish this? Or maybe perhaps anyone have an old version of PPT (where they still allow you to record macros) and can record this and paste the results into this thread?
Thanks a bunch.