Compartilhar via


IRange.PrintOut Method

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

Syntax

'Declaration
Function PrintOut ( _
    From As Object, _
    To As Object, _
    Copies As Object, _
    Preview As Object, _
    ActivePrinter As Object, _
    PrintToFile As Object, _
    Collate As Object, _
    PrToFileName As Object _
) As Object
'Usage
Dim instance As IRange
Dim From As Object
Dim To As Object
Dim Copies As Object
Dim Preview As Object
Dim ActivePrinter As Object
Dim PrintToFile As Object
Dim Collate As Object
Dim PrToFileName As Object
Dim returnValue As Object

returnValue = instance.PrintOut(From, _
    To, Copies, Preview, ActivePrinter, _
    PrintToFile, Collate, PrToFileName)
Object PrintOut(
    Object From,
    Object To,
    Object Copies,
    Object Preview,
    Object ActivePrinter,
    Object PrintToFile,
    Object Collate,
    Object PrToFileName
)

Parameters

Return Value

Type: System.Object

See Also

Reference

IRange Interface

IRange Members

Microsoft.Office.Interop.Excel Namespace