Hi

I have a excel file with three sheets in it. The first sheet conains the parameters which are used in a query in the second sheet and a third sheet which contains the results of the query in some order. Please help me with some macro code which can take sun the query in second sheet against the database and then store the results in the third sheet.

Thanks