0

I wrote an AddIn in PowerPoint. When dealing with the master slide, it seems that the slideId has a negative value, and this value leads to the error in my program later. With this negative value, PowerPoint cannot find out the slide according to.

How can I fix them?

I am using PowerPoint 2013, Visual Studio 2013, C#, Windows 8.

Martijn Pieters
  • 1,048,767
  • 296
  • 4,058
  • 3,343
chipbk10
  • 5,783
  • 12
  • 49
  • 85
  • 1
    Slides have a SlideID but I see nothing in the documentation or object browser that suggests that a SlideMaster or Design object has this property. You'll need to find some other way of identifying the master you need. – Steve Rindsberg Oct 01 '15 at 13:52
  • How to identify a slide is a master slide or not? And how to identify the master slide? Thanks Steve. – chipbk10 Oct 01 '15 at 13:53
  • To give you any sort of useful answer, we'd need more context. What are you trying to do, exactly? What code have you already written, where does it error and with what error message? – Steve Rindsberg Oct 01 '15 at 20:08

0 Answers0