Attachment.FileURL property (Access)

Returns the Uniform Resource Locator (URL) of the specified attachment. Read-only String.

Syntax

expression.FileURL (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.

Remarks

The FileURL property returns an empty string if the table that contains the attachments is not linked to a SharePoint list.

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.