I need to be able to query an Oracle database with an SQL script through SQL Developer, then import the contents of that query into a new spreadsheet in Excel.

This seems like it would be possible to do, but I have no idea to go about coding this.