PDA

View Full Version : Export Single Record to Excel or Outlook



Nosstech
09-17-2008, 10:51 AM
Is there a way I can export just a single record from Access to Excel or to an Outlook email?

I can export, but the table goes with it. Can a single record be exported?

Thanks in advance.

CreganTur
09-17-2008, 11:15 AM
Are you wanting to export this single record from a Form?

Nosstech
09-17-2008, 11:17 AM
Are you wanting to export this single record from a Form?
Yes.

CreganTur
09-17-2008, 11:49 AM
Take a look at this thread (http://www.vbaexpress.com/forum/showthread.php?t=20769&highlight=Export+Current+Excel)- it deals with what you're looking to do.

HTH:thumb

Slyboots
09-23-2008, 11:58 AM
Here's the easiest way:

Write a query that returns the single record.
With the query active, select File Export.
The Access dialog will be headed "Export Query 'xxxxx" To..." and let you select how you want to output it.

The resulting file will contain ONLY the results of this query.

S