Hi,
I have txt file which have header and footer occurring every 70-80 lines. how to import file avoiding this header and footer, just to get data into table?
File looks like this:
Header
Class 1
Value 1 Value 2 Value 3
Value 1 Value 2 Value 3
Value 1 Value 2 Value 3
.
.
Class 2
Value 1 Value 2 Value 3
Value 1 Value 2 Value 3
I need code which reads file line by line and when it comes to header ignore it, when it comes to class1 puts in table in different columns values 1,2,3 until it gets to class 2. I've been looking all over the internet and have three access and VBA books, but nothing.
Could anyone please help me?
Thanks
I have txt file which have header and footer occurring every 70-80 lines. how to import file avoiding this header and footer, just to get data into table?
File looks like this:
Header
Class 1
Value 1 Value 2 Value 3
Value 1 Value 2 Value 3
Value 1 Value 2 Value 3
.
.
Class 2
Value 1 Value 2 Value 3
Value 1 Value 2 Value 3
I need code which reads file line by line and when it comes to header ignore it, when it comes to class1 puts in table in different columns values 1,2,3 until it gets to class 2. I've been looking all over the internet and have three access and VBA books, but nothing.
Could anyone please help me?
Thanks