Slide Numbers using PowerPoint 2003 Interop DLL


S

Scott Gravenhorst

I am working on a project that generates a custom PowerPoint
presentation from survey results. I've been able to do manipulation
of many aspects of the presentation except for slide numbering.
Inside PowerPoint, I can apply slide numbering using slide master, but
when I try this with the interop DLL, I get no errors, but I also get
no slide numbering.

Within my VB.NET app, I access the slidemaster and attempt an insert
slide number this way:

pptPres.Designs(1).SlideMaster.Shapes(5).TextFrame.TextRange.InsertSlideNumber()

(in this slidemaster, the shape 5 contains the slide number area)

When I run it, no slide numbers appear. When I open the slidemaster
and look at headers/footers, the slide number box is not checked. Of
course, when checking it manually, the slide numbers then appear in
the footer.

Any clues?
 
Ad

Advertisements

Ad

Advertisements


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