Hi, I've been asked to make a glorified till as an assigment I'm doing for my course, and I'm stuck on the last bit. Basically I have a list of products all of differnt groups and I need to separate the groups so I can put a subtotal for each group, then a grand total at the end, see eample below.
100039 1 23 0 1 15 3.45 34.5 7.94
100128 3 14 0 1 16.5 2.31 39 5.46
100121 3 12 0 1 16.8 2.02 39 4.68
104170 6 0 570 2 10.9 62.13 28 159.60
The seventh digit is the code number, so I need to put a line of spaces between the 1 and 3 as well as the 3 and 6. The data was input from a text file using file open then putting it into an array, the writing it into a textbox with a For Next loop and the string split up using the substing method and vbTab, but this has led to a constant list, and I can't see a way of splitting the groups up so that I can put the finishing touches in. Can somebody help me please?
100039 1 23 0 1 15 3.45 34.5 7.94
100128 3 14 0 1 16.5 2.31 39 5.46
100121 3 12 0 1 16.8 2.02 39 4.68
104170 6 0 570 2 10.9 62.13 28 159.60
The seventh digit is the code number, so I need to put a line of spaces between the 1 and 3 as well as the 3 and 6. The data was input from a text file using file open then putting it into an array, the writing it into a textbox with a For Next loop and the string split up using the substing method and vbTab, but this has led to a constant list, and I can't see a way of splitting the groups up so that I can put the finishing touches in. Can somebody help me please?