microsoft+access+courses+in+london - exporting excel
The UK's Number 1 for Microsoft Office Training Add this page to your favourites/bookmarksBookmark page
 
View printable version of pagePrintable version
Plus One Google
Customer: Sign in
Delegate: Sign in
Trainer: Log in

Forum home » Delegate support and help forum » Microsoft Access Training and help » microsoft+access+courses+in+london - Exporting to Excel

microsoft+access+courses+in+london - Exporting to Excel

resolvedResolved · Low Priority · Version Standard

replyReply Tue 28 Nov 2006, 19:41Delegate Edwin said...

Edwin has attended:
Access Intermediate course
Access Advanced course
Access VBA course

Exporting to Excel

Is there a VBA Code that will allow me to Export a table into Excel byu clicking on a button (or Event), instead of going through the toobar and manually exporting it?

For upcoming training course dates see: Pricing & availability

replyReply Thu 30 Nov 2006, 16:34Trainer Orok said...

RE: Exporting to Excel

Hi Edwin,

It is possible to automate the export of a form to Excel by clicking on a button.

1. Create a macro object and set the Action column to "OutputTo"
2. In the Action Arguments, select the following...

Output File = Table
Object Name = "choose name of table"
OutputFormat = "choose Microsoft Excel version"
Outputfile = "leave blank to be prompted or specify the file path of the output excel your require"
AutoStart = "Yes if you want the Excel program to launch, No if you wish to lauch Excel yourself"

Save the macro

3. Create a form based on the table and add to the form a command button. Assign to the command button the above macro

Regrds

 


Microsoft Certified Partner Accredited Training Provider: Institute of IT Training Institute of Leadership and Management - Certified Courses Security Seal verified by visa, mastercard securecard