View Single Post
  #1 (permalink)  
Old May 25th, 2004, 02:13 PM
ckentebe ckentebe is offline
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