Hi
I have a text file with mulitple rows. Two sample row with text are as follows:-
|xxxx| jjjjj | kkkk |
|yy| llll | mmm |
How can i use VBA to put it in excel so that
cell(1,1) = xxxx
cell(1,2) = jjjjj
cell(1,3) = kkkk
cell(2,1) = yy
cell(2,2) = llll
cell(2,3) = mmm
Do I need to explode the text in an array first and then loop into to paste it in the cell row by row. Any idea how to do it efficiently in VBA? I am looping in the textfile to output it in excel.
Thanks,
I have a text file with mulitple rows. Two sample row with text are as follows:-
|xxxx| jjjjj | kkkk |
|yy| llll | mmm |
How can i use VBA to put it in excel so that
cell(1,1) = xxxx
cell(1,2) = jjjjj
cell(1,3) = kkkk
cell(2,1) = yy
cell(2,2) = llll
cell(2,3) = mmm
Do I need to explode the text in an array first and then loop into to paste it in the cell row by row. Any idea how to do it efficiently in VBA? I am looping in the textfile to output it in excel.
Thanks,