Library.ImportTextFreeEx
This function imports a text file using free formatting (with extended options).
Syntax | Parameters | Return Value |
---|---|---|
Function Library.ImportTextFreeEx( _ fileName As String, _ NbVars As Long, _ NbCases As Long, _ Optional formatStatement As String = "", _ Optional separators As String = ",; \t\r\n", _ Optional bTreatMultipleSeparatorsAsMissingData As Boolean = False, _ Optional bUseQuotationMarksAsTextBoundaries As Boolean = False, _ Optional bCaseNamesFromFirstColumn As Boolean = False, _ Optional bTrimLeadingSpace As Boolean = False, _ Optional startAtRow As Long = 1) As Spreadsheet |
The fully-qualified pathway to the text file to import. Type: String How many variables to import. Type: Long How many cases to import. Type: Long The format to apply when importing. Type: String Default value: "" The character that will be interpreted as separators. This parameter defaults to ",;\t\r\n ". Type: String Default value: ",; \t\r\n" Whether or not to treat multiple separators as missing data. This parameter defaults to False. Type: Boolean Default value: False Whether or not to use quotation marks as text boundaries. This parameter defaults to False. Type: Boolean Default value: False Whether or not to import the first column in the text file as the case names. This parameter defaults to False. Type: Boolean Default value: False Type: Boolean Default value: False Whether or not to import the first column in the text file as the case names. This parameter defaults to False. Type: Long Default value: 1 |
Spreadsheet |