Re: Code to export my query as XLS to same directory each week.

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Thanks for the help.
Question: How can I alter my code to always save the file to the same place?

CTomac wrote:
I have the following query: qryEquipment_Intelebill
- which I output as an Excel file
[quoted text clipped - 35 lines]
--
Message posted viahttp://www.accessmonster.com
To auto-send the email, add this after you output to excel:

DoCmd.SendObject acSendNoObject, , , "[Your Recipient]", , ,
"[Subject]" , _
"[Link here], 0

--
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200801/1

.