MrsGorilla
Rat Race Participant
- Local time
- Yesterday, 18:04
- Joined
- May 6, 2003
- Messages
- 1,745
I've been struggling with this since yesterday morning and I have a couple of questions.
I'm creating a button for one of my users to export a query to Excel once a month for distribution. Is there a way to use the TransferSpreadsheet method but have it prompt for a file location/document name? I've successfully used the OutputTo method but it automatically plops it into an old version of Excel. Not a big deal I suppose, but I'm trying to make it as easy as possible for the user. Which brings me to another point, is it possible to specify which version of Excel you want to format as with OutputTo? I'm guessing no, but want to double-check.
Also, is it possible to do any formatting of the Excel file as it exports? Currently I have a macro written in Excel that the user will have to run as a separate step. I was just wondering if it's possible to do any of that through Access to eliminate the extra step of running the macro.
Thanks for any help.
I'm creating a button for one of my users to export a query to Excel once a month for distribution. Is there a way to use the TransferSpreadsheet method but have it prompt for a file location/document name? I've successfully used the OutputTo method but it automatically plops it into an old version of Excel. Not a big deal I suppose, but I'm trying to make it as easy as possible for the user. Which brings me to another point, is it possible to specify which version of Excel you want to format as with OutputTo? I'm guessing no, but want to double-check.
Also, is it possible to do any formatting of the Excel file as it exports? Currently I have a macro written in Excel that the user will have to run as a separate step. I was just wondering if it's possible to do any of that through Access to eliminate the extra step of running the macro.
Thanks for any help.
