Rediger

Del via


OlAttachmentType enumeration (Outlook)

Specifies the attachment type.

Name Value Description
olByReference 4 This value is no longer supported since Microsoft Outlook 2007. Use olByValue to attach a copy of a file in the file system.
olByValue 1 The attachment is a copy of the original file and can be accessed even if the original file is removed.
olEmbeddeditem 5 The attachment is an Outlook message format file (.msg) and is a copy of the original message.
olOLE 6 The attachment is an OLE document.

Remarks

Used as an optional parameter to the Attachments.Add method (Outlook) to specify the attachment type.

See also

Attach a File to a Mail Item Attach an Outlook Contact Item to an Email Message Limit the Size of an Attachment to an Outlook Email Message Modify an Attachment of an Outlook Email Message

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.