Share via


_Application.Repeat Method

Repeats the most recent editing action one or more times.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
Function Repeat ( _
    ByRef Times As Object _
) As Boolean
'Usage
Dim instance As _Application
Dim Times As Object
Dim returnValue As Boolean

returnValue = instance.Repeat(Times)
bool Repeat(
    ref Object Times
)

Parameters

  • Times
    Type: System.Object%
    Optional Object. The number of times you want to repeat the last command.

Return Value

Type: System.Boolean

Remarks

This method returns True if the commands were repeated successfully, and False if not.

See Also

Reference

_Application Interface

_Application Members

Microsoft.Office.Interop.Word Namespace