Output to Excel

busterg

New member
Local time
Today, 17:24
Joined
Mar 8, 2002
Messages
6
Is it possible to have a command button in a form to output the details of the current record on that form into an excel spreadsheet instead of all of the records in the database?
 
Sure
Use a query that selects the correct values and use it as a property of the TransferSpreadsheet method...
HTH
Chris
 
The query needs selection criteria that refers to the currently displayed record.

Where YourKeyField = Forms!YourFormName!YourFieldName;
 

Users who are viewing this thread

Back
Top Bottom