D
Doug Glancy
Hi,
I know how to transfer params from a form to a querydef. And I know how to
use TransferSpreadsheet to put query results into spreadsheet. What I'd
like to do is combine the two for multiple queries, e.g.:
Open my form
1 Set a Querydef equal to an existing Access query
2 Pass the params from the form to the Querydef
3 Transfer the Querydef result to the Excel workbook using
TransferSpreadsheet
Repeat 1 to 3
When I try to do this TransferSpreadsheet seems to just call the Access
query - not my Querydef - and prompts for the parameters.
Is this possible?
Thanks in advance,
Doug
I know how to transfer params from a form to a querydef. And I know how to
use TransferSpreadsheet to put query results into spreadsheet. What I'd
like to do is combine the two for multiple queries, e.g.:
Open my form
1 Set a Querydef equal to an existing Access query
2 Pass the params from the form to the Querydef
3 Transfer the Querydef result to the Excel workbook using
TransferSpreadsheet
Repeat 1 to 3
When I try to do this TransferSpreadsheet seems to just call the Access
query - not my Querydef - and prompts for the parameters.
Is this possible?
Thanks in advance,
Doug