We help IT Professionals succeed at work.

Check out our new AWS podcast with Certified Expert, Phil Phillips! Listen to "How to Execute a Seamless AWS Migration" on EE or on your favorite podcast platform. Listen Now

x

Create multi worksheet excel workbook from access

Medium Priority
352 Views
Last Modified: 2012-08-14
I have an access application that I need to modify that will allow 2 access tables to be saved into a single excel workbook.  (one worksheet will contain one table and the other worksheet will contain the other table.

I have used transferspreadsheet to export 1 table to excel but not sure if I can use it to create 2 worksheets in the same workbook

Also, I would like to be able to prompt for the file location to save the workbook
Comment
Watch Question

CERTIFIED EXPERT
Top Expert 2016
Commented:
Unlock this solution with a free trial preview.
(No credit card required)
Get Preview
DoCmd.TransferSpreadsheet {Direction of Transfer}, _
    {SpreadSheet Type}, {Query to Select Data}, _
    {Full Name of Excel WorkBook, True, {Name of WorkSheet}
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a free trial preview!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.