Hi, i am trying to convert the text file (extracted from an old database) into excel.
Unfortunately i am unable to preform it as a single row data is divided to multiple lines, and then the page break.
I once remember one of our IT expert provided me a solution with a similar problem using xmls , but it was in different format and that IT expert is no longer with us.
So how can i convert the following data into excel.
I am posting two pages of it, whereas i have multiple pages:-
D_BRANCH_NO D_GL_NO D_SL_NO D_EN_YEAR D_EN_MONTH D_EN_DAY D_ENTRY_TIME
----------- ------- ---------- --------- ---------- -------- ------------
D_TR_YEAR D_TR_MONTH D_TR_DAY D_TRANS_CODE D_TRANS_AMOUNT
--------- ---------- -------- ------------ ---------------------
D_TRANS_DESCRIPTION D_USER_NO D_TERMINAL_NO D_BANK_NO D_VOUCHER_NO
------------------- --------- ------------- --------- ------------
D_INVTRSF_NO D_TRAN_NO D_TRANS_TYPE D_INVOICE_NO D_DOCUMENT_NO
------------ ---------- ------------ ------------ -------------
D_TRANS_BALANCE
---------------------
200 666 329 89 12 2 17364101
1989 12 2 2 6600.000
è 000014134 614 20 0 0
0 63 61 0 0
6600.000
200 666 329 89 12 2 20001384
1989 12 2 2 3645.000
è 000014122 614 20 0 0
0 108 61 0 0
10245.000
200 666 329 89 12 2 20013684
1989 12 2 2 7590.375
è 000014123 614 20 0 0
0 110 61 0 0
17835.375
200 666 329 89 12 2 20043347
1989 12 2 2 3745.000
è 000014124 614 20 0 0
0 112 61 0 0
21580.375
200 666 329 89 12 2 20052978
1989 12 2 2 3645.000
è 000014125 614 20 0 0
0 114 61 0 0
25225.375
200 666 329 89 12 2 20060264
1989 12 2 2 3645.000
è 000014126 614 20 0 0
0 116 61 0 0
28870.375
200 666 329 89 12 2 20095566
1989 12 2 2 4393.200
è 000014127 614 20 0 0
0 122 61 0 0
33263.575
200 666 329 89 12 2 20102294
1989 12 2 2 4393.200
è 000014128 614 20 0 0
0 124 61 0 0
37656.775
200 666 329 89 12 2 20112564
1989 12 2 2 3163.200
è 000014129 614 20 0 0
0 126 61 0 0
40819.975
200 666 329 89 12 2 20120918
1989 12 2 2 4003.200
D_BRANCH_NO D_GL_NO D_SL_NO D_EN_YEAR D_EN_MONTH D_EN_DAY D_ENTRY_TIME
----------- ------- ---------- --------- ---------- -------- ------------
D_TR_YEAR D_TR_MONTH D_TR_DAY D_TRANS_CODE D_TRANS_AMOUNT
--------- ---------- -------- ------------ ---------------------
D_TRANS_DESCRIPTION D_USER_NO D_TERMINAL_NO D_BANK_NO D_VOUCHER_NO
------------------- --------- ------------- --------- ------------
D_INVTRSF_NO D_TRAN_NO D_TRANS_TYPE D_INVOICE_NO D_DOCUMENT_NO
------------ ---------- ------------ ------------ -------------
D_TRANS_BALANCE
---------------------
è 000014130 614 20 0 0
0 128 61 0 0
44823.175
200 666 329 89 12 2 20130301
1989 12 2 2 5278.500
è 000014131 614 20 0 0
0 134 61 0 0
50101.675
200 666 329 89 12 2 20135220
1989 12 2 2 7600.000
è 000014132 614 20 0 0
0 136 61 0 0
57701.675
200 666 329 89 12 3 16291853
1989 12 3 2 6650.000
è 000014141 614 20 0 0
0 284 61 0 0
64351.675
200 666 329 89 12 3 17474267
1989 12 3 2 5950.000
è 000014135 614 20 0 0
0 332 61 0 0
70301.675
200 666 329 89 12 3 17560781
1989 12 3 2 4772.400
è 000014151 614 20 0 0
0 336 61 0 0
75074.075
200 666 329 89 12 3 18124199
1989 12 3 2 4200.000
è 000014136 614 20 0 0
0 350 61 0 0
79274.075
200 666 329 89 12 3 18203483
1989 12 3 2 3745.000
è 000014137 614 20 0 0
0 366 61 0 0
83019.075
200 666 329 89 12 3 18230093
1989 12 3 2 3745.000
è 000014138 614 20 0 0
0 376 61 0 0
86764.075
200 666 329 89 12 3 18515809
1989 12 3 2 7300.000
è 000014140 614 20 0 0
0 408 61 0 0
D_BRANCH_NO D_GL_NO D_SL_NO D_EN_YEAR D_EN_MONTH D_EN_DAY D_ENTRY_TIME
----------- ------- ---------- --------- ---------- -------- ------------
D_TR_YEAR D_TR_MONTH D_TR_DAY D_TRANS_CODE D_TRANS_AMOUNT
--------- ---------- -------- ------------ ---------------------
D_TRANS_DESCRIPTION D_USER_NO D_TERMINAL_NO D_BANK_NO D_VOUCHER_NO
------------------- --------- ------------- --------- ------------
D_INVTRSF_NO D_TRAN_NO D_TRANS_TYPE D_INVOICE_NO D_DOCUMENT_NO
------------ ---------- ------------ ------------ -------------
D_TRANS_BALANCE
---------------------
Unfortunately i am unable to preform it as a single row data is divided to multiple lines, and then the page break.
I once remember one of our IT expert provided me a solution with a similar problem using xmls , but it was in different format and that IT expert is no longer with us.
So how can i convert the following data into excel.
I am posting two pages of it, whereas i have multiple pages:-
D_BRANCH_NO D_GL_NO D_SL_NO D_EN_YEAR D_EN_MONTH D_EN_DAY D_ENTRY_TIME
----------- ------- ---------- --------- ---------- -------- ------------
D_TR_YEAR D_TR_MONTH D_TR_DAY D_TRANS_CODE D_TRANS_AMOUNT
--------- ---------- -------- ------------ ---------------------
D_TRANS_DESCRIPTION D_USER_NO D_TERMINAL_NO D_BANK_NO D_VOUCHER_NO
------------------- --------- ------------- --------- ------------
D_INVTRSF_NO D_TRAN_NO D_TRANS_TYPE D_INVOICE_NO D_DOCUMENT_NO
------------ ---------- ------------ ------------ -------------
D_TRANS_BALANCE
---------------------
200 666 329 89 12 2 17364101
1989 12 2 2 6600.000
è 000014134 614 20 0 0
0 63 61 0 0
6600.000
200 666 329 89 12 2 20001384
1989 12 2 2 3645.000
è 000014122 614 20 0 0
0 108 61 0 0
10245.000
200 666 329 89 12 2 20013684
1989 12 2 2 7590.375
è 000014123 614 20 0 0
0 110 61 0 0
17835.375
200 666 329 89 12 2 20043347
1989 12 2 2 3745.000
è 000014124 614 20 0 0
0 112 61 0 0
21580.375
200 666 329 89 12 2 20052978
1989 12 2 2 3645.000
è 000014125 614 20 0 0
0 114 61 0 0
25225.375
200 666 329 89 12 2 20060264
1989 12 2 2 3645.000
è 000014126 614 20 0 0
0 116 61 0 0
28870.375
200 666 329 89 12 2 20095566
1989 12 2 2 4393.200
è 000014127 614 20 0 0
0 122 61 0 0
33263.575
200 666 329 89 12 2 20102294
1989 12 2 2 4393.200
è 000014128 614 20 0 0
0 124 61 0 0
37656.775
200 666 329 89 12 2 20112564
1989 12 2 2 3163.200
è 000014129 614 20 0 0
0 126 61 0 0
40819.975
200 666 329 89 12 2 20120918
1989 12 2 2 4003.200
D_BRANCH_NO D_GL_NO D_SL_NO D_EN_YEAR D_EN_MONTH D_EN_DAY D_ENTRY_TIME
----------- ------- ---------- --------- ---------- -------- ------------
D_TR_YEAR D_TR_MONTH D_TR_DAY D_TRANS_CODE D_TRANS_AMOUNT
--------- ---------- -------- ------------ ---------------------
D_TRANS_DESCRIPTION D_USER_NO D_TERMINAL_NO D_BANK_NO D_VOUCHER_NO
------------------- --------- ------------- --------- ------------
D_INVTRSF_NO D_TRAN_NO D_TRANS_TYPE D_INVOICE_NO D_DOCUMENT_NO
------------ ---------- ------------ ------------ -------------
D_TRANS_BALANCE
---------------------
è 000014130 614 20 0 0
0 128 61 0 0
44823.175
200 666 329 89 12 2 20130301
1989 12 2 2 5278.500
è 000014131 614 20 0 0
0 134 61 0 0
50101.675
200 666 329 89 12 2 20135220
1989 12 2 2 7600.000
è 000014132 614 20 0 0
0 136 61 0 0
57701.675
200 666 329 89 12 3 16291853
1989 12 3 2 6650.000
è 000014141 614 20 0 0
0 284 61 0 0
64351.675
200 666 329 89 12 3 17474267
1989 12 3 2 5950.000
è 000014135 614 20 0 0
0 332 61 0 0
70301.675
200 666 329 89 12 3 17560781
1989 12 3 2 4772.400
è 000014151 614 20 0 0
0 336 61 0 0
75074.075
200 666 329 89 12 3 18124199
1989 12 3 2 4200.000
è 000014136 614 20 0 0
0 350 61 0 0
79274.075
200 666 329 89 12 3 18203483
1989 12 3 2 3745.000
è 000014137 614 20 0 0
0 366 61 0 0
83019.075
200 666 329 89 12 3 18230093
1989 12 3 2 3745.000
è 000014138 614 20 0 0
0 376 61 0 0
86764.075
200 666 329 89 12 3 18515809
1989 12 3 2 7300.000
è 000014140 614 20 0 0
0 408 61 0 0
D_BRANCH_NO D_GL_NO D_SL_NO D_EN_YEAR D_EN_MONTH D_EN_DAY D_ENTRY_TIME
----------- ------- ---------- --------- ---------- -------- ------------
D_TR_YEAR D_TR_MONTH D_TR_DAY D_TRANS_CODE D_TRANS_AMOUNT
--------- ---------- -------- ------------ ---------------------
D_TRANS_DESCRIPTION D_USER_NO D_TERMINAL_NO D_BANK_NO D_VOUCHER_NO
------------------- --------- ------------- --------- ------------
D_INVTRSF_NO D_TRAN_NO D_TRANS_TYPE D_INVOICE_NO D_DOCUMENT_NO
------------ ---------- ------------ ------------ -------------
D_TRANS_BALANCE
---------------------