0

I want hidden slides in my presentation to be skipped in the slide numbering. I do, however, have a master slide that has text boxes as the footer and slide number, and this number is what I need to be updated when slides are hidden/unhidden. This is a picture of the footer in the master slide:

enter image description here

I already tried the solution posted here but it does not work. VBA : Number the slide if they are visible I think it's because of the master slide. This is the error I get:

Run-time error '-2147188160 (80048240)':
HeaderFooter (unkown member) : Invalid request.

And when debugging it it highlights this line of code as the problem:

diapo.HeadersFooters.Footer.Text = CStr(x)
Warcupine
  • 4,460
  • 3
  • 15
  • 24
  • 1
    From your post, it sounds like you are using text boxes for the slide number instead of the standard slide number placeholder. Is that true? If so, why? – John Korchok May 05 '20 at 00:24
  • Would that help? [https://stackoverflow.com/questions/26362448/how-not-to-count-page-numbers-for-hidden-slides-in-ppt](https://stackoverflow.com/questions/26362448/how-not-to-count-page-numbers-for-hidden-slides-in-ppt) – G. N. MS May 05 '20 at 09:44
  • Corporate standars, I need to keep the footer that way. – César Triana May 05 '20 at 16:17

0 Answers0