PathName Overview The PathName property of the Attachment class retuns the path name of the Attachment. Syntax vbaAttachment.PathName Return Value A String value indicating the source path of the Attachment object.