View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Seamus Conlon Seamus Conlon is offline
external usenet poster
 
Posts: 12
Default Passing parameter to a select query

"Bill Pfister" wrote in message
...
How are you executing the query (SQL statement queried to a recordset in
Excel VBA, other?)?

To insert the query in the worksheet I initially used the
New Database Query option under Import External Data.
To refresh it I have a macro that uses something like:

Selection.QueryTable.Refresh

Thanks,
Seamus