FileName Property

Microsoft Outlook Visual Basic

FileName Property

       

Returns a String representing the file name of the attachment. Use this property in conjunction with the PathName property. Read-only.

expression.FileName

expression   Required. An expression that returns an Attachment object.