View Property

Microsoft PowerPoint Visual Basic

Show All

View Property

       

View property as it applies to the SlideShowWindow object.

Returns a SlideShowView object. Read-only.

expression.View

expression   Required. An expression that returns one of the above objects.

 

View property as it applies to the DocumentWindow object.

Returns a View object that represents the view in the specified document window. Read-only.

expression.View

expression   Required. An expression that returns one of the above objects.

Example

As it applies to the SlideShowWindow object.

This example uses the View property to exit the current slide show, sets the view in the active window to slide view, and then displays slide three.

Application.SlideShowWindows(1).View.Exit
With Application.ActiveWindow
    .ViewType = ppViewSlide
    .View.GotoSlide 3
End With