_QueryTable.TextFileThousandsSeparator Property

Definition

Returns or sets the thousands separator character that Microsoft Excel uses when you import a text file into a query table. The default is the system thousands separator character. Read/write String.

public:
 property System::String ^ TextFileThousandsSeparator { System::String ^ get(); void set(System::String ^ value); };
public string TextFileThousandsSeparator { get; set; }
Public Property TextFileThousandsSeparator As String

Property Value

Remarks

Use this property only when your query table is based on data from a text file (with the QueryType property set to xlTextImport), especially when the file contains decimal and thousands separators that are different from those used on the computer, due to a different language setting being used.

The following table shows the results when you import text into Microsoft Excel using various separators. Numeric results are displayed in the rightmost column.

PeriodCommaCommaPeriod123.123,45123,123.45 (numeric)
PeriodCommaCommaComma123.123,45123.123,45 (text)
CommaPeriodCommaPeriod123,123.45123,123.45 (numeric)
PeriodCommaPeriodComma123 123.45123 123.45 (text)
PeriodCommaPeriodSpace123 123.45123,123.45 (numeric)

Applies to