Name
workbooks.OpenText(Filename, [Origin], [StartRow], [DataType], [TextQualifier], [ConsecutiveDelimiter], [Tab], [Semicolon], [Comma], [Space], [Other], [OtherChar], [FieldInfo], [TextVisualLayout], [DecimalSeparator], [ThousandsSeparator], [TrailingMinusNumbers], [Local])
Synopsis
Opens a text file and interprets it as a workbook. How OpenText interprets the text file is determined by the method’s many arguments.
|
Argument |
Settings |
|---|---|
|
|
The text file to open. |
|
|
The platform to create the text file; can be one of the following |
|
|
The row within the file at which to start parsing. Default is 1 for the first row. |
|
|
Determines how the columns are delimited; can be one of the following |
|
|
Determines how text values are identified; can be one of the following |
|
|
True parses consecutive delimiters as indicating a single column; False parses consecutive delimiters as multiple, empty columns. Default is False. |
|
|
True parses the tab character as the column delimiter; False does not. |
|
|
True parses the semicolon as the column delimiter; False does not. |
|
|
True parses the comma ... |
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