Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
|
Access VBA Discuss using VBA for Access programming.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access VBA section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 24th, 2007, 06:41 PM
Registered User
 
Join Date: May 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default Export Access table to a pre-formatted Excel file

I'd like to export data from my Access database into a pre-formatted Excel spreadsheet. Row 2 of the Excel spreadsheet has corresponds to fields in my database table starting at column 2 with borders, cell shading, bold text, etc. There's only one worksheet in my Excel template file. I use the Excel table for insertion into monthly flyers and such. I have an existing design I'd like to use. Can anyone tell me if it's possible to export data from my Access table to the Excel worksheet so the data is placed in the appropriate cells and/or rows and retain my formatting and perhaps how to go about making it so? Or, could Access be made to more or less replicate the Excel template during the export (borders, column/row labels, cell shading)?
 
Old May 25th, 2007, 06:37 AM
Friend of Wrox
 
Join Date: Mar 2004
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

Yes. O'Reilly Publishing: "Integrating Excel and Access."

Paperback: 232 pages
Publisher: O'Reilly Media, Inc. (November 1, 2005)
Language: English
ISBN-10: 0596009739

This is THE book for this subject matter. Too much info to post here.

Sorry Wrox.


mmcdonal
 
Old May 25th, 2007, 08:04 AM
Registered User
 
Join Date: May 2007
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Sweet! Thanks for the recommendation.





Similar Threads
Thread Thread Starter Forum Replies Last Post
Export Table data into an Excel SpreadSheet hewstone999 Access VBA 0 March 3rd, 2008 07:00 AM
Export Access queries to Excel Spymaster Access VBA 2 August 18th, 2006 11:21 AM
Export Mircosoft Excel Data to Access Table tiyyob Excel VBA 0 January 11th, 2006 06:19 AM
open a formatted excel file from program darvarin C++ Programming 1 June 15th, 2005 03:24 AM
Export Table from Access to Excel aramchan Access VBA 2 July 12th, 2004 03:20 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.