![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
Is there a way using VBA code, for all outgoing emails to - Get the file path
for the attachment and insert it in the body before it is send out? Kind of a combination or automation of insert link and insert attachment, using one click Thanks, Irene |
Ads |
#2
|
|||
|
|||
![]()
An attachment has no file path, unless you inserted it as a link. And in that case, what's the point of having both the text and the link?
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Irene" wrote in message ... Is there a way using VBA code, for all outgoing emails to - Get the file path for the attachment and insert it in the body before it is send out? Kind of a combination or automation of insert link and insert attachment, using one click Thanks, Irene |
#3
|
|||
|
|||
![]()
You could use Attachment.FileName and .PathName to try to get to the
original attachment file and then read it as a text stream and insert that into the email. Of course you'd have to distinguish attached Outlook items, pictures and so on from true files. Also, some files don't make sense when read as pure bytes, for example Word document files or Excel XLS files. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Absolute Beginner's Guide to Microsoft Office Outlook 2003 Reminder Manager, Extended Reminders, Attachment Options http://www.slovaktech.com/products.htm "Irene" wrote in message ... Is there a way using VBA code, for all outgoing emails to - Get the file path for the attachment and insert it in the body before it is send out? Kind of a combination or automation of insert link and insert attachment, using one click Thanks, Irene |
#4
|
|||
|
|||
![]()
aha, that is what I noticed. I know it sounds point less, but the client is
always right ![]() open up to the same place? I guess i am just going to let them now. Thanks for the help "Sue Mosher [MVP-Outlook]" wrote: An attachment has no file path, unless you inserted it as a link. And in that case, what's the point of having both the text and the link? -- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Irene" wrote in message ... Is there a way using VBA code, for all outgoing emails to - Get the file path for the attachment and insert it in the body before it is send out? Kind of a combination or automation of insert link and insert attachment, using one click Thanks, Irene |
#5
|
|||
|
|||
![]()
No, you can't automate the dialog used to insert the hyperlink.
-- Sue Mosher, Outlook MVP Author of Configuring Microsoft Outlook 2003 http://www.turtleflock.com/olconfig/index.htm and Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Irene" wrote in message ... aha, that is what I noticed. I know it sounds point less, but the client is always right ![]() open up to the same place? I guess i am just going to let them now. Thanks for the help "Sue Mosher [MVP-Outlook]" wrote: An attachment has no file path, unless you inserted it as a link. And in that case, what's the point of having both the text and the link? "Irene" wrote in message ... Is there a way using VBA code, for all outgoing emails to - Get the file path for the attachment and insert it in the body before it is send out? Kind of a combination or automation of insert link and insert attachment, using one click Thanks, Irene |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
how do I insert a contact detail from a email attachment | chilli hot | Outlook - Using Contacts | 1 | October 29th 06 03:15 PM |
Insert word document/Bookmark into email body | paul | Outlook and VBA | 4 | September 22nd 06 02:45 PM |
Send an HTML in the body of an e-mail NOT as an attachment | rachel | Outlook - General Queries | 1 | July 28th 06 07:25 PM |
insert as text (to insert html into email body) | Iona | Outlook - General Queries | 1 | July 13th 06 01:10 PM |
adding an attachment to a new email goes into the body of the emai | jannetta pincusi | Outlook - Using Forms | 1 | February 15th 06 02:31 PM |