How to computer number of slides?

B

Bobby

I want to create a footer like "Slide # of 10" but I'd like PowerPoint to
work out the number of slides (the way Word does). Can this be done? Cheers.

Bobby
 
U

Ute Simon

Hi Bobby,

Bobby said:
I want to create a footer like "Slide # of 10" but I'd like PowerPoint to
work out the number of slides (the way Word does). Can this be done? Cheers.

Bobby
I remember having seen a snippet of VBA-code doing exactly this a while ago,
you should be able to find it with a Google-Groups-search.

Kind regards,
Ute
 
S

Steve Rindsberg

Bobby said:
You're kidding right? VB code for this? Counting the fecking number of
slides?

Nope. PowerPoint doesn't do the job itself (a pity, that) so it's up to you
to do it manually or to run VBA code that automates it.
 
B

Bill

Bobby,

It is simple enough to go into the Slide master and enter that information
after you have finished your presentation. In the bottom right-hand
placekeeper where the slide information is contained, click to the right
side or the "{#}" and type in " of 50", or whatever your number is. Slide
Sorter view numbers all slides so it is easy to go to the last one and see
how many you have.

Bill Foley
www.pttinc.com
 
B

Bobby

Bill - That is not the point. And if I add or delete a slide? I have to
remember to go back to the slide master? Pretty amazing oversight by MS. How
many versions of PP and this feature is still missing?
 
U

Ute Simon

Hi Bobby,

Bobby said:
Bill - That is not the point. And if I add or delete a slide? I have to
remember to go back to the slide master? Pretty amazing oversight by MS. How
many versions of PP and this feature is still missing?
depends on what you consider necessary for a PRESENTATION ... ;-)

IMHO information like page numbers, date, time, file name are useful for
printed matter (thus you'll find automated fields for that in Word), but are
most fit to distract attention from the content of your slides and what you
really have to say.

I usually format page numbers in background color, so they show up in b/w
printing, but not while the presentation is projected. Thus I don't miss
this "X of Y" feature at all.

Kind regards,
Ute
 
B

Bill

We all understand your frustration, but you are preaching to the choir. If
you have any suggestions on how to improve PowerPoint (or any Microsoft
application), please feel free to visit:

http://register.microsoft.com/mswish/suggestion.asp

Bill Foley
www.pttinc.com


Bobby said:
Bill - That is not the point. And if I add or delete a slide? I have to
remember to go back to the slide master? Pretty amazing oversight by MS. How
many versions of PP and this feature is still missing?

Bill said:
Bobby,

It is simple enough to go into the Slide master and enter that information
after you have finished your presentation. In the bottom right-hand
placekeeper where the slide information is contained, click to the right
side or the "{#}" and type in " of 50", or whatever your number is. Slide
Sorter view numbers all slides so it is easy to go to the last one and see
how many you have.

Bill Foley
www.pttinc.com
 
R

RobBlue

Bobby said:
I want to create a footer like "Slide # of 10" but I'd like PowerPoint to
work out the number of slides (the way Word does). Can this be done? Cheers.

Bobby

Sub CountSlides()
'counts number of slides:
NumbSlides = ActivePresentation.Slides.Count
'shows number in MessageBox:
MsgBox NumbSlides
End Sub

Rob
 
J

John O

Bill - That is not the point. And if I add or delete a slide? I have to
remember to go back to the slide master? Pretty amazing oversight by MS. How
many versions of PP and this feature is still missing?

Lots of folks have asked about that feature in the last few years. In my
experience, however, it focuses the audience on 'how much is left.' When I'm
presenting I hope the audience isn't counting the remaining slides...but why
force the issue?

Throw in hidden slides, links to other presentations, and slides that aren't
presented for other reasons, and the tool isn't so accurate anyway.

Obviously you feel strongly about it, and that's fine, but I'd have to ask:
how does this feature help you communicate your message?
 
J

John Langhans [MSFT]

Hello Bobby,

PowerPoint does not have the specific capability that you are looking for
so the total number of pages would either have to entered manually or you
would have to write a macro (I see that several people have suggested the
known workarounds).

If you (or anyone else reading this message) think that PowerPoint should
be able to automatically calculate and insert the total number of slides,
or other calculated/dynamic fields such as filename, path, modify date,
etc. (without having to resort to VBA or add-ins), don't forget to send
your feedback to Microsoft at:

http://register.microsoft.com/mswish/suggestion.asp

As with all product suggestions, it's important that you not just state
your wish but also WHY it is important to you that your product suggestion
be implemented by Microsoft. Microsoft receives thousands of product
suggestions every day and we read each one but, in any given product
development cycle, there are only sufficient resources to address the ones
that are most important to our customers so take the extra time to state
your case as clearly and completely as possible.

IMPORTANT: Each submission should be a single suggestion (not a list of
suggestions)

John Langhans
Microsoft Corporation
Supportability Program Manager
Microsoft Office PowerPoint for Windows
Microsoft Office Picture Manager for Windows

For FAQ's, highlights and top issues, visit the Microsoft PowerPoint
support center at: http://support.microsoft.com/default.aspx?pr=ppt
Search the Microsoft Knowledge Base at:
http://support.microsoft.com/default.aspx?pr=kbhowto

This posting is provided "AS IS" with no warranties, and confers no rights.
Use of any included script samples are subject to the terms specified at
http://www.microsoft.com/info/cpyright.htm
 
T

tjtjjtjt

I'm VBA illiterate--Is there a version of this code that inserts the number into the document rather than just displaying it in a Message Box? Thanks

tj
 

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