Attachment.Size property (Outlook)
Returns a Long indicating the size (in bytes) of the attachment. Read-only.
Syntax
expression.Size
expression A variable that represents an Attachment object.
Remarks
This information may not always be available for attachments. For example, on an S/MIME message, the actual attachment sizes are unknown until the attachment is extracted. In cases where the attachment size cannot be determined, this property returns 0.
See also
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.