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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Exporting Access Query to Excel

Status
Not open for further replies.

dkmidi

Technical User
Mar 13, 2002
47
CA
Can anyone help? I'd like to know how to program a module in Access to do the following:

Save two Access queries to specific tabs in an Excel spreadsheet.

Example:

Open Excel workbook myData.xls
Run module to save myQuery1 to tab myQuery1 in myData.xls. Close workbook.
Run seocnd module to save myQuery2 to tab myQuery2 in myData.xls. Close workbook.

Thanks!

Derek

ps. Anyway I can change the default header gray fill colour to say light yellow at the same time for the particular range of columns?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top