Hi- I'm using Excel 2000 and attempting to import only the first n lines of a text file. The Wizard allows the user to select the first line, but is there a way to specify the last line of text desired (so if I only want the beginning 1000 lines and ditch the rest)?
There doesn't seem to be an argument for workbooks.OpenT ext to specify this information. Currently I am reading in the entire file and clearing out the part I don't need via VBA, but this is extremely memory intensive.
Thanks!
There doesn't seem to be an argument for workbooks.OpenT ext to specify this information. Currently I am reading in the entire file and clearing out the part I don't need via VBA, but this is extremely memory intensive.
Thanks!
Comment