Share via


IWorksheetFunction.Rept Method

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

Syntax

'Declaration
Function Rept ( _
    Arg1 As String, _
    Arg2 As Double _
) As String
'Usage
Dim instance As IWorksheetFunction
Dim Arg1 As String
Dim Arg2 As Double
Dim returnValue As String

returnValue = instance.Rept(Arg1, Arg2)
string Rept(
    string Arg1,
    double Arg2
)

Parameters

Return Value

Type: System.String

See Also

Reference

IWorksheetFunction Interface

IWorksheetFunction Members

Microsoft.Office.Interop.Excel Namespace