Hi
I have a script that saves a file using yesterdays date onto a network drive, using the VBA equivalent of network days and weeks to save the file in the following format: Daily Claims Stats - Week 33 - Monday August 11 2008 or
Daily Claims Stats - Week 32 - Friday August 08 2008. - this part works fine, but when i try to use the CDO mail method I can only manage to send the email without the attachment.
The idea is that this all takes place with one button click, the file is saved and emailed to an email group.
My script is as follows:
I have seen the sendmail option, but i don't want the pop up and have read Ron de Bruin but cannot seem to work out the sending of a file into an email without opening outlook and/or the file again and sending it out in that manner.
I was wondering if this code was the key?? to use a virtual workbook path??
Incidently the Outlook.application method below, does not work for me, but does include
- the ability to attach files directly thru the VBA
Any ideas, would be greatly appreciated??
thanks Gareth
Bookmarks