none
Opening a presentation via Presentations.Open doesn't work if there are multiple presentations. RRS feed

  • Question

  • I start up PowerPoint and add two presentations to it.

    I close active one and try to re open it doesn't work. No exceptions or anything, it just floats there to no end:

    Globals.ThisAddIn.Application.ActivePresentation.Close();

    Globals.ThisAddIn.Application.ActivePresentation = Globals.ThisAddIn.Application.Presentations.Open("path to first presentation");

    What could be the issue? I really have no clue since (literally) nothing happens.

    As said, this only happens if there are more than one presentation open in the PP application, if there is (was) only one presentation open, it works correctly.

    Monday, May 6, 2019 11:08 AM