Access_guy49
Registered User.
- Local time
- Today, 12:12
- Joined
- Sep 7, 2007
- Messages
- 462
Hey everyone!
Is there a way to import a text file but skip the first 10, or 15 lines?
I have an output file from a program that our Hydrologist uses to predict spring melt runoff flooding. The output is a db file (not dbf) so i can only open it with text editor and bring it into access as a txt file.
The file has a bunch of comments at the top explaining the file, i want to skip them. I can't change the output from the software used, i was just hoping to get the first 10 lines out of the way so that i can automatically import the data using VBA. I want this to be simple for them to use. I want them to click a button and select the file, and the code will do the rest.
Any help/advice/liturature would be greatly appreciated.
Is there a way to import a text file but skip the first 10, or 15 lines?
I have an output file from a program that our Hydrologist uses to predict spring melt runoff flooding. The output is a db file (not dbf) so i can only open it with text editor and bring it into access as a txt file.
The file has a bunch of comments at the top explaining the file, i want to skip them. I can't change the output from the software used, i was just hoping to get the first 10 lines out of the way so that i can automatically import the data using VBA. I want this to be simple for them to use. I want them to click a button and select the file, and the code will do the rest.
Any help/advice/liturature would be greatly appreciated.