Syntax

expression.Rept(Arg1, Arg2)

expression A variable that represents a WorksheetFunction object.

Parameters

Name Required/Optional Data Type Description
Arg1 Required String Text - the text you want to repeat.
Arg2 Required Double Number_times - a positive number specifying the number of times to repeat text.

Return Value
String

Remarks


See also: