G
Guest
Hi Everyone,
I'm trying to export data to an excel spreadsheet from a database, and am
having some troubles getting it to do so with filtered data. I have a table
several thousand records long, with over 100 colums per record. The user
applies various Filter by Selection filters. What I need to do is to allow
the user to export to an excel spreadsheet, exporting only the filtered
records. As the:
DoCmd.OutputTo acOutputTable, stDocName, acFormatXLS, , True
command does not allow for filters, does anyone have any suggestions? I've
tried opening a report, etc, and exporting from there using an OnLoad event,
but that will only allow me to work with 20 Columns of data (and I need 'em
all!). Any advice would be greatly appreciated. Thanks!
I'm trying to export data to an excel spreadsheet from a database, and am
having some troubles getting it to do so with filtered data. I have a table
several thousand records long, with over 100 colums per record. The user
applies various Filter by Selection filters. What I need to do is to allow
the user to export to an excel spreadsheet, exporting only the filtered
records. As the:
DoCmd.OutputTo acOutputTable, stDocName, acFormatXLS, , True
command does not allow for filters, does anyone have any suggestions? I've
tried opening a report, etc, and exporting from there using an OnLoad event,
but that will only allow me to work with 20 Columns of data (and I need 'em
all!). Any advice would be greatly appreciated. Thanks!