SlideShowView.SlideElapsedTime property (PowerPoint)

Returns the number of seconds that the current slide has been displayed. Read/write.

Syntax

expression. SlideElapsedTime

expression A variable that represents a SlideShowView object.

Return value

Long

Remarks

Use the ResetSlideTime method to reset the elapsed time for the slide that's currently displayed.

Example

This example sets a variable to the elapsed time for the slide that's currently displayed in slide show window one and then displays the value of the variable.

currTime = SlideShowWindows(1).View.SlideElapsedTime

MsgBox currTime

See also

SlideShowView 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.