LocalPath Property

Read-only. A Boolean value. A flag that specifies in which form the path to the file (the Address property), pointed to by the hyperlink, is stored.

Applies to: Hyperlink object

Syntax

[[Let] localPathRet =] object.LocalPath

The LocalPath property syntax has these parts:

Part Description
object Required. An expression, that returns an instance of the Hyperlink object.
localPathRet Optional. A Boolean type variable.

Remarks

If LocalPath is True, the Address property contains the relative path to the file (with respect to the folder which was the current folder when the hyperlink was created). Otherwise, the full path to the file is stored. (absolute path).

The LocalPath property is only effective when the hyperlink points to a file, that is, the hyperlink is of the cdLinkToFile type (see the LinkType property).

 

See Also

Address property, LinkType property