I am trying to set PowerPoint normal view with the code below. The code shows the normal slide, but the left-side thumbnails do not show up in a left-side pane.
wapp.ActiveWindow.ViewType = PpViewType.ppViewNormal;
I have looked through all the ppViewType options, but none of them produce the desired results.
Does someone know the magic syntax (VBA or C#) to make the normal display look like the display when I click the Normal button on the UI? Thank you.
CodePudding user response:
I get the thumbnails showing if I run 2 view statements. The first sets the view to ppViewSlide (without thumbnails). Then ppViewNormal restores the thumbnails:
Sub ShowHideWindows()
With ActiveWindow
.ViewType = ppViewSlide
.ViewType = ppViewNormal
End With
End Sub