You have two options:
Option 1 - fix your query code so it generates a spreadsheet within the same
instance of Excel as the code is running in. This is the option I would go
for.
Option 2 - treat the new instance of excel as a different program and use ole
or sendkeys to control it.
There may be others.