Export Query To Specific Cell

carlnewboult

Registered User.
Local time
Today, 14:56
Joined
Sep 27, 2005
Messages
90
Hiya,

At present I am running a database which opens several queries and then I have to manually paste this informaiton into a spreadsheet.

What I want to know is how do i go about pasting this information into a specific spreadsheet and then into the correct cell.

I have had a look around and have not been able to find what I am looking for.

Cheers

Carl :confused:
 
carlnewboult said:
At present I am running a database which opens several queries and then I have to manually paste this informaiton into a spreadsheet.

What I want to know is how do i go about pasting this information into a specific spreadsheet and then into the correct cell.

I have had a look around and have not been able to find what I am looking for.

Try

Code:
DoCmd Transferspreadsheet

or

Code:
DoCmd OutputTo

and one should do what you need. If you have several queries, make the export a function with an argument for the query name and output location, then just call them with the function every time.
 

Users who are viewing this thread

Back
Top Bottom