Name
range.TextToColumns([Destination]), [DataType], [TextQualifier], [ConsecutiveDelimiter], [Tab], [Semicolon], [Comma], [Space], [Other], [OtherChar], [FieldInfo], [DecimalSeparator], [ThousandsSeparator], [TrailingMinusNumbers])
Synopsis
Breaks a column containing text into several columns.
|
Argument |
Settings |
|---|---|
|
|
A |
|
|
|
|
|
|
|
|
True inteprets consecutive delimiters as a single delimiter. |
|
|
True uses tabs as the delimiter. |
|
|
True uses semicolons as the delimiter. |
|
|
True uses commas as the delimiter. |
|
|
True uses spaces as the delimiter. |
|
|
True uses |
|
|
Specifies a character to use as a delimiter. |
|
|
An array that describes the data types of fields in the text. |
|
|
The decimal separator to use when recognizing numbers. |
|
|
The thousands separator to use when recognizing numbers. |
|
TrailingMinusNumbers |
True interprets numbers followed by - as being negative; False interprets numbers followed by - as a string. Default is False. |
The following code breaks the specified column containing semicolon-delimited ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access