Re: Calling Outlook from within Excel
From: Sue Mosher [MVP-Outlook] (suemvp_at_outlookcode.com)
Date: 02/12/05
- Next message: Tom Winter: "Re: Using Visual Studio Installer, create an Outlook COM component that can only be installed by an administrator but, once installed, runs for all users"
- Previous message: Hogan's Goat: "Re: Calling Outlook from within Excel"
- In reply to: Hogan's Goat: "Re: Calling Outlook from within Excel"
- Next in thread: Hogan's Goat: "Re: Calling Outlook from within Excel"
- Reply: Hogan's Goat: "Re: Calling Outlook from within Excel"
- Messages sorted by: [ date ] [ thread ]
Date: Sat, 12 Feb 2005 08:46:25 -0500
Sure:
objMail.Attachments.Add yourvariable_with_the_path
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx
"Hogan's Goat" <yeah@right.com> wrote in message
news:Xns95FAEE1149C3Byeah.right.com@63.223.5.246...
> Here's a cheerful little earful from Sue Mosher [MVP-Outlook]:
>
>> Outlook cannot attach files until they're saved. Your code will need
>> to save the active workbook first, then attach it.
>>
>
> OK, fair enough. My code can save the file and I guess capture the path
> and put it into a variable, then can I use that variable within the same
> code to pass to Outlook as an attachment path?
>
- Next message: Tom Winter: "Re: Using Visual Studio Installer, create an Outlook COM component that can only be installed by an administrator but, once installed, runs for all users"
- Previous message: Hogan's Goat: "Re: Calling Outlook from within Excel"
- In reply to: Hogan's Goat: "Re: Calling Outlook from within Excel"
- Next in thread: Hogan's Goat: "Re: Calling Outlook from within Excel"
- Reply: Hogan's Goat: "Re: Calling Outlook from within Excel"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|