Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access VBA
Password Reminder
Register
Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old September 10th, 2004, 11:05 AM
Registered User
 
Join Date: Sep 2004
Location: san juan capistrano, ca, USA.
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Exporting Query Data From Access to Excel

Here is my problem.

I have a table in Access that has mics. vendors information.
I want to create misc. Excel files based on the Vendor Name.

Anotherwords, I want to somehow read the table, and create an Excel file for each Vendor.

The only way I presently know how to do this would be to have one query with selection logic for each vendor.
IE: 500 vendors would take 500 queries.

I need one program to create the 500 Excel files....
Anyone that knows how to do this with Access commands, or Access VB would be greatly appreciated. I am no VB expert, but if someone has code, I can fake it...

Thanks,
Jim
Reply With Quote
  #2 (permalink)  
Old September 10th, 2004, 09:48 PM
Friend of Wrox
 
Join Date: Jul 2003
Location: South San Francisco, CA, USA.
Posts: 128
Thanks: 0
Thanked 1 Time in 1 Post
Default

Jim,
I have a suggestion. Why not just instead of Excel file use
Word document? Have it as a mail merge from Access to Word.
John

Reply With Quote
  #3 (permalink)  
Old December 20th, 2007, 07:57 PM
Authorized User
Points: 185, Level: 3
Points: 185, Level: 3 Points: 185, Level: 3 Points: 185, Level: 3
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Dec 2007
Location: , , .
Posts: 26
Thanks: 0
Thanked 1 Time in 1 Post
Default

Quote:
quote:Originally posted by JimInSouthernCal
 Here is my problem.

I have a table in Access that has mics. vendors information.
I want to create misc. Excel files based on the Vendor Name.

Anotherwords, I want to somehow read the table, and create an Excel file for each Vendor.

The only way I presently know how to do this would be to have one query with selection logic for each vendor.
IE: 500 vendors would take 500 queries.

I need one program to create the 500 Excel files....
Anyone that knows how to do this with Access commands, or Access VB would be greatly appreciated. I am no VB expert, but if someone has code, I can fake it...

Thanks,
Jim

Hi You got any answers, I need the same. Thanks

Reply With Quote
  #4 (permalink)  
Old December 21st, 2007, 08:34 AM
Friend of Wrox
Points: 9,611, Level: 42
Points: 9,611, Level: 42 Points: 9,611, Level: 42 Points: 9,611, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Mar 2004
Location: Washington, DC, USA.
Posts: 3,069
Thanks: 0
Thanked 10 Times in 10 Posts
Default

You want to create a single Excel file for each vendor record in your database? Yikes. That can be done, but you will need to code that. Are you still looking for this solution? How are you selecting each vendor? Can you post the table structure in Access, and then what you want to see in the Excel files? Also, what naming are you going to use on the Excel files?


mmcdonal

Look it up at: http://wrox.books24x7.com
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Exporting From Access To Excel jimnich Access VBA 17 February 8th, 2008 07:23 AM
Chapter 16: Exporting query data to Excel 5tr0ud BOOK: Access 2007 VBA Programmer's Reference ISBN: 978-0-470-04703-3 0 October 9th, 2007 04:23 PM
Exporting an Access Query sideshow245 Access ASP 3 June 18th, 2006 07:05 AM
Exporting data from MS Excel sheet to Ms Access ajindal General .NET 1 January 17th, 2005 03:00 AM
Exporting Query Results to Excel File redrobot5050 Access VBA 2 October 7th, 2004 05:26 PM



All times are GMT -4. The time now is 01:39 AM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.