Partager via


IRange.CopyFromRecordset Method

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

Syntax

'Declaration
Function CopyFromRecordset ( _
    Data As Object, _
    MaxRows As Object, _
    MaxColumns As Object _
) As Integer
'Usage
Dim instance As IRange
Dim Data As Object
Dim MaxRows As Object
Dim MaxColumns As Object
Dim returnValue As Integer

returnValue = instance.CopyFromRecordset(Data, _
    MaxRows, MaxColumns)
int CopyFromRecordset(
    Object Data,
    Object MaxRows,
    Object MaxColumns
)

Parameters

Return Value

Type: System.Int32

See Also

Reference

IRange Interface

IRange Members

Microsoft.Office.Interop.Excel Namespace