Hi! I have a question regarding bringing a text file to excel using VB.
The text file has the following format:
===================================================
A B C D E
===================================================
1 Paul Watson 43212 NY
2 Dave Miller 41422 TX
3 Steven Kay 39399 CA
===================================================
etc.
I want to import that into excel in the following form
Sample Sequence LastName FirstName State ID
AAA 1 Watson Paul NY 43212
AAA 2 Miller Dave TX 41422
BBA 3 Kay Steven CA 39399
etc...
Basically, I tried opening the Text format in Excel
but the "============" won't go away. Plus I want to rearrange the order and add a column.
I'm trying to use VB but I can't seem to find a good starting point. If anyone can help, I really would appreciate it! THANKS!!
The text file has the following format:
===================================================
A B C D E
===================================================
1 Paul Watson 43212 NY
2 Dave Miller 41422 TX
3 Steven Kay 39399 CA
===================================================
etc.
I want to import that into excel in the following form
Sample Sequence LastName FirstName State ID
AAA 1 Watson Paul NY 43212
AAA 2 Miller Dave TX 41422
BBA 3 Kay Steven CA 39399
etc...
Basically, I tried opening the Text format in Excel
but the "============" won't go away. Plus I want to rearrange the order and add a column.
I'm trying to use VB but I can't seem to find a good starting point. If anyone can help, I really would appreciate it! THANKS!!