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 ...
Get Programming Excel with VBA and .NET now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.