Auto Report To Excel .. (1 Viewer)

GUIDO22

Registered User.
Local time
Today, 03:41
Joined
Nov 2, 2003
Messages
515
I need to generate an Excel report but NOT using the shortcut menu and Wizard in access... From report preview...

I want to be able to use vba to run the access report and automatically save the excel report to a designated folder on disk.
(I have another routine i can use to then email the file on...)

So one command button press will do the lot!

Any ideas please?
Thanks in advance.
 

Pat Hartman

Super Moderator
Staff member
Local time
, 22:41
Joined
Feb 19, 2002
Messages
43,603
You would export the data using TransferSpreadsheet and then open the spreadsheet for automation and format it. Or you could create the file totally with code. Using the TransferSpreadsheet method allows you to create a template and just fill it with data. You might not need OLE code at all.
 

Users who are viewing this thread

Top Bottom