My GoogleFu is failing me big time on this one but here is the basic idea of what I would like to do:
I have a form with a combo box (cboChainSelect) that has a list of three character chain codes in it. I would like to be able to select multiple chain codes in the combo box and then click a button that would run one query for each selected chain code using the chain code in a where clause and then export it to Excel using the chain code as part of a file name [ChainCode] + "impact.xlsx"
I haven't come close to finding anything like this through Google - I get inundated with articles about how to export multiple queries to the same workbook. Anyone have any good links or ideas?
I have a form with a combo box (cboChainSelect) that has a list of three character chain codes in it. I would like to be able to select multiple chain codes in the combo box and then click a button that would run one query for each selected chain code using the chain code in a where clause and then export it to Excel using the chain code as part of a file name [ChainCode] + "impact.xlsx"
I haven't come close to finding anything like this through Google - I get inundated with articles about how to export multiple queries to the same workbook. Anyone have any good links or ideas?