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

Exporting a Table into a blank Excel sheet

Status
Not open for further replies.

biscuitboy

Technical User
Dec 11, 2004
22
0
0
GB
Hi,

This in theory should be simple but for some reason I cant figure it out.

All I want to do is with a click on a button in Access I would like a blank excel worksheet to open and then a Table from Access called "Data" to be copied onto sheet1.

Can anyone help?

Best regards
 
use the transferspreadsheet method of the Docmd object to save your table to a spreadsheet, then
to open an instance of Excel you will have to use OLE/COM Automation

see thread692-90756
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top