Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

OutPut to option in Access Macros

Status
Not open for further replies.

AccessVB

MIS
Jun 23, 2002
82
US
Hello All,

Is it possible to Output data from a query to a specific worksheet in Excel? I know you can specify the file name and the path, but i want to export data from a bunch of queries into the same excel file..Any help will be appreciated. Thanks.
 
With OLE Automation you may consider the CopyFromRecordset method of the Excel.Range object.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Thanks, but is there a way to do it from within macro, without going into VBA?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top