Export 2 forms to same spreadsheet

mounty76

Registered User.
Local time
Today, 12:36
Joined
Sep 14, 2017
Messages
345
Hi All,

I've searched everywhere and cannot find a solution for this.

I want to export 2 forms into the same excel document but on different tabs. OutputTo the form keeps the formatting in excel, using the transferspreadsheet command gives an unformatted end result in excel.

Is there anyway to use the docmd.outputto command that will add a second tab into an existing excel file rather than overwriting it? Or is it possible to use the transferspreadsheet command on a form? I don't think so...

Any help on this much appreciated!

Cheers
 
I haven't tried outputting a form to Excel, but if I want to format the data in Excel, I usually use VBA automation.
 
Outputting a form to excel works perfectly as it keeps the formatting and filtered data from the form into the excel sheet.....however I don't know how to output two forms into the same workbook.....I don't think its possible hence posting it here as a challenge lol
 
SOLVED!

Just found a way to do it, however its automated in access after outputting forms to separate excel files.

This works great and it keeps the same formatting as in the form.... :)

 
Last edited:
SOLVED!

Just found a way to do it, however its automated in access after outputting forms to separate excel files.

This works great and it keeps the same formatting as in the form.... :)

Glad to hear you found an Excel automation solution that works for you. Good luck with your project.
 

Users who are viewing this thread

Back
Top Bottom