Export to excel on button click:
How can I export a query result into excel on a button click?
Any example would be very helpful.
Export to excel on button click:
How can I export a query result into excel on a button click?
Any example would be very helpful.
Check out the TransportSpreadsheet method.
Review this
http://forums.aspfree.com/microsoft-...el-413629.html
How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.
Create a new macro; in the "add new action" drop down choose export with formatting.
Oject type: query
Oject name: Your query
Output format: MicrosoftExcel(*.xls)
Etc...
That’s pretty much it, unless the output is huge. Then create your button, when the button wizard finishes choose miscellaneous >> run macro >> find your macro, and your done.
Richard