Partager via


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

Concepts

SlideShowView Object

SlideShowView Object Members