

This macro is run only, when you need it. See end of this or this article for a details. there is no way to change PowerPoint's shortcuts, except for buying a commercial plugin, for which you have to pay price starting at 20 bucks per one computer. A keyboard shortcut would be most welcome. Select saved PageCountUpdater macro and hit Run. If Left(shp.Name, 12) = "Slide Number" Then Code to be inserted (full and with corrected "glue-word"): Sub PageCountUpdater() Save macro and close Microsoft Visual Basic for Applications.Go back to PowerPoint. Change van in the most indented line to of or anything similar in your lang. Paste macro code (from pwrpntuser's answer or below) between Sub PageCountUpdater() and End Sub. Type a name for your macro (say PageCountUpdater) and click Create. In eariler versions select Tools > Macro from menu. In PowerPoint 2007 and newer, click on View tab (last) and then on Macro button in last toolbar group. Make sure, that you have added slide numbers using method described in this article 1. pptm extension (standard presentation with macros allowed).

In PowerPoint 2007 and newer make sure, that you saved your presentation under. This is basically pwrpntuser's code extended to full executable guide.
