Attachment.FileType property (Access)

Returns the file extension of the specified attachment. Read-only String.

Syntax

expression.FileType (var)

expression A variable that represents an Attachment object.

Parameters

Name Required/Optional Data type Description
var Optional Variant An expression that specifies the position of a member of the collection referred to by the expression argument. If a numeric expression, the index argument must be a number from 0 to the value of the collection's Count property minus 1. If a string expression, the index argument must be the name of a member of the collection.

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.