Can you refresh the data at any time? If so you need only right click in the data somewhere, then edit query, if the wizard kicks in, cancel then say yes to edit with ms query, you should then be able to save the def. as a "your name".qry
you can also turn on the macro recorder before doin this and have a vb version of the sql, that you can edit, be sure to completey return the data to excel while recording so that all the code is written.