TextFilePlatform Property

         Example         Applies To

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. Can be one of the following XlPlatform constants: xlMacintosh, xlMSDOS, or xlWindows. The default value is the current setting of the File Origin option in the Text File Import Wizard. Read/write XlPlatform.

Remarks

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