_QueryTable.TextFileDecimalSeparator Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns or sets the decimal separator character that Microsoft Excel uses when you import a text file into a query table. The default is the system decimal separator character. Read/write String.
public:
property System::String ^ TextFileDecimalSeparator { System::String ^ get(); void set(System::String ^ value); };
public string TextFileDecimalSeparator { get; set; }
Public Property TextFileDecimalSeparator 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)that 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.
Period | Comma | Comma | Period | 123.123,45 | 123,123.45 (numeric) |
Period | Comma | Comma | Comma | 123.123,45 | 123.123,45 (text) |
Comma | Period | Comma | Period | 123,123.45 | 123,123.45 (numeric) |
Period | Comma | Period | Comma | 123 123.45 | 123 123.45 (text) |
Period | Comma | Period | Space | 123 123.45 | 123,123.45 (numeric) |