coding to export to Excel

  • Thread starter Thread starter Lauren B
  • Start date Start date
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
 
In the On Click event of your command button, use the Docmd.Outputto method.
You can see the details on Outputto in Access Help
 
Back
Top