Compartilhar via


Workbooks._OpenText Method

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

Syntax

'Declaration
Sub _OpenText ( _
    Filename As String, _
    Origin As Object, _
    StartRow As Object, _
    DataType As Object, _
    TextQualifier As XlTextQualifier, _
    ConsecutiveDelimiter As Object, _
    Tab As Object, _
    Semicolon As Object, _
    Comma As Object, _
    Space As Object, _
    Other As Object, _
    OtherChar As Object, _
    FieldInfo As Object, _
    TextVisualLayout As Object, _
    DecimalSeparator As Object, _
    ThousandsSeparator As Object _
)
'Usage
Dim instance As Workbooks
Dim Filename As String
Dim Origin As Object
Dim StartRow As Object
Dim DataType As Object
Dim TextQualifier As XlTextQualifier
Dim ConsecutiveDelimiter As Object
Dim Tab As Object
Dim Semicolon As Object
Dim Comma As Object
Dim Space As Object
Dim Other As Object
Dim OtherChar As Object
Dim FieldInfo As Object
Dim TextVisualLayout As Object
Dim DecimalSeparator As Object
Dim ThousandsSeparator As Object

instance._OpenText(Filename, Origin, StartRow, _
    DataType, TextQualifier, ConsecutiveDelimiter, _
    Tab, Semicolon, Comma, Space, Other, _
    OtherChar, FieldInfo, TextVisualLayout, _
    DecimalSeparator, ThousandsSeparator)
void _OpenText(
    string Filename,
    Object Origin,
    Object StartRow,
    Object DataType,
    XlTextQualifier TextQualifier,
    Object ConsecutiveDelimiter,
    Object Tab,
    Object Semicolon,
    Object Comma,
    Object Space,
    Object Other,
    Object OtherChar,
    Object FieldInfo,
    Object TextVisualLayout,
    Object DecimalSeparator,
    Object ThousandsSeparator
)

Parameters

See Also

Reference

Workbooks Interface

Workbooks Members

Microsoft.Office.Interop.Excel Namespace