I have results of a query that I exported into excel from access that I need to have be able to display in an excel worksheet in particular fields. Where I am running into trouble is how can I have the values from multiple columns populate one column in the formatted spreadsheet that I need to transfer the data to. I need to have the values that are in the Tax and Ins column insert after the last record in the account field. The results of the query vary depending on criteria entered by the user. So I was trying to automate this process. But I'm not exactly sure the best way to accomplish my goal.
Acount|Sub Account|Ins #| Tax#| Sub
60060 0100 62500 62200 0100
60060 0100 62500 62200 0100
60105 0100 62500 62200 0100
60105 0100 62500 62200 0100
60170 0100 62500 62200 0000
60170 0100 62500 62200 0000
60320 0000 62530 62230 0000
60320 0000 62530 62230 0000
60450 0100 62500 62200 0100
60450 0100 62500 62200 0100
60570 0000 62520 62220 0000
60570 0000 62520 62220 0000
60600 0200 62500 62200 0100
60600 0200 62500 62200 0100
60620 0100 62500 62200 0100
So after the Tax and Ins field have been added to the end of the Account and Sub Account columns it would look like this.
Acount|Sub Account|
60060 0100
60060 0100
60105 0100
60105 0100
60170 0100
60170 0100
60320 0000
60320 0000
60450 0100
60450 0100
60570 0000
60570 0000
60600 0200
60600 0200
60620 0100
62200 0100
62200 0100
62200 0100
62200 0100
62200 0000
62200 0000
62230 0000
62230 0000
62200 0100
62200 0100
62200 0000
62200 0000
62200 0100
62200 0100
62200 0100
62500 0100
62500 0100
62500 0100
62500 0000
62500 0000
62530 0000
62530 0000
62500 0100
Acount|Sub Account|Ins #| Tax#| Sub
60060 0100 62500 62200 0100
60060 0100 62500 62200 0100
60105 0100 62500 62200 0100
60105 0100 62500 62200 0100
60170 0100 62500 62200 0000
60170 0100 62500 62200 0000
60320 0000 62530 62230 0000
60320 0000 62530 62230 0000
60450 0100 62500 62200 0100
60450 0100 62500 62200 0100
60570 0000 62520 62220 0000
60570 0000 62520 62220 0000
60600 0200 62500 62200 0100
60600 0200 62500 62200 0100
60620 0100 62500 62200 0100
So after the Tax and Ins field have been added to the end of the Account and Sub Account columns it would look like this.
Acount|Sub Account|
60060 0100
60060 0100
60105 0100
60105 0100
60170 0100
60170 0100
60320 0000
60320 0000
60450 0100
60450 0100
60570 0000
60570 0000
60600 0200
60600 0200
60620 0100
62200 0100
62200 0100
62200 0100
62200 0100
62200 0000
62200 0000
62230 0000
62230 0000
62200 0100
62200 0100
62200 0000
62200 0000
62200 0100
62200 0100
62200 0100
62500 0100
62500 0100
62500 0100
62500 0000
62500 0000
62530 0000
62530 0000
62500 0100