I have a table which has one column and a bunch of UPC's. The first record, and every record which begins with 99999 is followed by a 3 digit number then a four digit number. What I need to do is append the 3 digit and 4 digit numbers into two new columns for every UPC that follows the 99999 record, until the next 99999 record.
ex:
999996565253
065828285216
095622366266
058413265648
999996566012
065656565656
085484656565
065652626555
055122626266
Final result:
999996565253 656 5253
065828285216 656 5253
095622366266 656 5253
058413265648 656 5253
999996566012 656 6012
065656565656 656 6012
085484656565 656 6012
etc....
I know it is very easy with VB, but I don't know Vb yet, so I am open to suggestions.
I have gone about it by trying a primary number, and have not found a way to autofill the rest of the columns.
Thank you for your time.
ex:
999996565253
065828285216
095622366266
058413265648
999996566012
065656565656
085484656565
065652626555
055122626266
Final result:
999996565253 656 5253
065828285216 656 5253
095622366266 656 5253
058413265648 656 5253
999996566012 656 6012
065656565656 656 6012
085484656565 656 6012
etc....
I know it is very easy with VB, but I don't know Vb yet, so I am open to suggestions.
I have gone about it by trying a primary number, and have not found a way to autofill the rest of the columns.
Thank you for your time.