Partager via


_QueryTable.TextFilePlatform Property

Returns or sets the origin of the text file you’re importing into the query table. This property determines which code page is used during the data import. The default value is the current setting of the File Origin option in the Text File Import Wizard. Read/write XlPlatform.

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

Syntax

'Declaration
Property TextFilePlatform As Integer
    Get
    Set
'Usage
Dim instance As _QueryTable
Dim value As Integer

value = instance.TextFilePlatform

instance.TextFilePlatform = value
int TextFilePlatform { get; set; }

Property Value

Type: System.Int32

Remarks

Use this property only when your query table is based on data from a text file (with the QueryType property set to xlTextImport).

See Also

Reference

_QueryTable Interface

_QueryTable Members

Microsoft.Office.Interop.Excel Namespace