N
Newbie
I have a text file that is not in a state to just import i.e. the data is
not in columns - the job no is centred on the document and there are
underlines that I don't want importing
eg
Postion 50 Line 1: Job No: 1234567
Postion 1 Line 2: Analysis Code (len 5)
Position 35 Line 2: Cost (99999999.99)
Position 63 Line 2: Sales (99999999.99)
The lines to be imported always start with a 0 or a 7 except for the Job No.
How can I programmatically import this file so that it gives me 4 columns
Col 1 = Job No
Col 2 = Analysis Code
Col 3 = Cost or Sales
The job No needs to be repeated in col 1 on each line until the next job no
is found.
Thanks
The file looks like this
Job No: 1234567
00123 99.99
00356 100.99
70000 1000.00
I would like the import to look like this:
1234567 00123 99.99
1234567 00356 100.99
1234567 70000 1000.00
not in columns - the job no is centred on the document and there are
underlines that I don't want importing
eg
Postion 50 Line 1: Job No: 1234567
Postion 1 Line 2: Analysis Code (len 5)
Position 35 Line 2: Cost (99999999.99)
Position 63 Line 2: Sales (99999999.99)
The lines to be imported always start with a 0 or a 7 except for the Job No.
How can I programmatically import this file so that it gives me 4 columns
Col 1 = Job No
Col 2 = Analysis Code
Col 3 = Cost or Sales
The job No needs to be repeated in col 1 on each line until the next job no
is found.
Thanks
The file looks like this
Job No: 1234567
00123 99.99
00356 100.99
70000 1000.00
I would like the import to look like this:
1234567 00123 99.99
1234567 00356 100.99
1234567 70000 1000.00