SlideShowWindow.Active property (PowerPoint)

Returns whether the specified pane or window is active. Read-only.



expression A variable that represents a SlideShowWindow object.

Return value



The value returned by the Active property can be one of these MsoTriState constants.

Constant Description
msoFalse The specified pane or window is inactive.
msoTrue The specified pane or window is active.


This example checks to see if the presentation file "test.ppt" is in the active window. If not, it saves the name of the presentation that is currently active in the variable oldWin and activates the "test.ppt" presentation.

With Application.Presentations("test.ppt").Windows(1)

    If Not .Active Then

        Set oldWin = Application.ActiveWindow


    End If

End With

See also

SlideShowWindow Object

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.