View Full Version : Export Report Data To Excel


rajeshsarin
11-03-2009, 07:00 PM
I wish to create a button on the report, which users can click and that will export the report data to an excel file. I am using access 2007 & excel 2007.

What code would I need to insert behind the button (my database is split and each user has their own front end).

Cheers

pbaldy
11-03-2009, 08:06 PM
Look at TransferSpreadsheet in VBA help. It would be the simplest. You'd want to export the underlying query rather than the report itself.