Print Page | Close Window

ExportToExcel_TransferSpreadsheet (intermediate)

Printed From: Roger's Access Library
Category: Roger's Access Library
Forum Name: Roger's Download Samples
Forum Description: A compendium of Microsoft Access 97 and 2000+ routines, each separated into its own sample database.
URL: www.rogersaccesslibrary.com/forum/forum_posts.asp?TID=622
Printed Date: 20 Oct 2017 at 6:48am


Topic: ExportToExcel_TransferSpreadsheet (intermediate)
Posted By: Roger Carlson
Subject: ExportToExcel_TransferSpreadsheet (intermediate)
Date Posted: 10 May 2016 at 10:36am
This sample demonstrates how to export data from a database to an Excel Spreadsheet using the TransferSpreadsheet method.

The overall process:

1) Create macro to export queries

2) Convert the macro to VBA code

3) Modify the code to loop through a table of table and file names (MyExport)


Look in the "basExport_TransferSpreadsheet" module for the relevant code.

Download Sample (accdb): http://www.rogersaccesslibrary.com/forum/uploads/5/ExportToExcel_TransferSpreadsheet.zip" rel="nofollow - ExportToExcel_TransferSpreadsheet
http://www.rogersaccesslibrary.com/forum/uploads/5/ExportToExcel_TransferSpreadsheet2k.zip" rel="nofollow - Download MDB version


-------------
Consider donating $1 per sample downloaded, http://www.rogersaccesslibrary.com/whydonations.htm" rel="nofollow - find out why here .<



Print Page | Close Window