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!

How do I export Access data to a an excel Spreadsheet 1

Status
Not open for further replies.

topgeek

MIS
Oct 28, 2001
59
GB
Can anyone tell me how I go about exporting data from an Access form by clicking on a button and then having Excel open automatically with that newly exported data?

Many Thanks
 
you can export with the docmd.TransferText function.

you will need to set the filename to fNme.csv for it to default to excel, (delimited text format)

if you want it to open, then you would need to use the shell commands, I can't remember off the top of my head, but F1 should be able to give you all you need...

--------------------
Procrastinate Now!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top