Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Microsoft Office > Access and Access VBA > Access
| Search | Today's Posts | Mark Forums Read
Access Discussion of Microsoft Access database design and programming. See also the forums for Access ASP and Access VBA.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Access section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 25th, 2004, 02:13 PM
Authorized User
 
Join Date: Apr 2004
Location: Toronto, Ontario, Canada.
Posts: 12
Thanks: 0
Thanked 0 Times in 0 Posts
Default ACCESS 2000 VBA CODE TO "SAVE AS" EXCEL

Hello,
I have a query output in Access that I would like the user to "save as" EXCEL document. At the moment, I can produce the EXCEL output using

DoCmd.TransferSpreadsheet acExport, acSpreadsheetTypeExcel7, "QRYSIMPLE", "QUERY_RESULT", True

I want the user to receive a prompt with "Save result as : "
after they press the button to query.

Thanks




Similar Threads
Thread Thread Starter Forum Replies Last Post
Code works in Excel VBA but not Access VBA fossx Access VBA 2 May 21st, 2007 08:00 AM
Half the code in Access 2000 VBA doesn't work disruptivehair BOOK: Beginning Access VBA 0 December 26th, 2005 02:21 PM
VBA for Excel 2000...HELP! lhardesty Excel VBA 2 August 20th, 2004 09:08 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.