Application.ActiveInspector.CurrentItem.Attachments.Add "c:\my document.doc"

Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Ayth" <darrin.henshaw@gmail.com> wrote in message
news:4c70679c-ac1a-42d6-8427-c5fbf3de2981@m3g2000hsc.googlegroups.com...
> Hello,
>
> Can someone point me in the right direction? Or some sample code that
> would do the following:
>
> 1. Save the current active document in Word.
> 2. Attach it to the current email
> 3. Save the email since it will be in "Edit Mode".
>
> I can do number one without a problem, but it's the second portion
> that's giving me problems. I know I'll have to use GetInspector to use
> the current item, but I'm having troubles. Thanks.
>
> Cheers,
>
> Darrin
24 JunAttach file to Current Email.Ayth
24 Jun\ Re: Attach file to Current Email.Dmitry Streblechenko
24 Jun   \ Re: Attach file to Current Email.Ayth
24 Jun      \ Re: Attach file to Current Email.Dmitry Streblechenko
24 Jun         \ Re: Attach file to Current Email.Ayth
24 Jun            \ Re: Attach file to Current Email.Dmitry Streblechenko
24 Jun               \ Re: Attach file to Current Email.Dmitry Streblechenko
All times are in (US) Eastern Daylight Time (GMT -4:00)