coding to export to Excel

L

Lauren B

Is there any way to code the event procedure for a command button so that
when it is selected by a user "Report A" automatically opens in Excel?

Thank you for any assistance.

LB
 
K

Klatuu

In the On Click event of your command button, use the Docmd.Outputto method.
You can see the details on Outputto in Access Help
 
Top