Share via


Workbook.FullNameURLEncoded Property

Excel Developer Reference

Returns a String indicating the name of the object, including its path on disk, as a string. Read-only.

Syntax

expression.FullNameURLEncoded

expression   A variable that represents a Workbook object.

Example

In this example, Microsoft Excel displays the path and file name of the active workbook to the user.

Visual Basic for Applications
  Sub UseCanonical()
' Display the full path to user.
MsgBox ActiveWorkbook.<strong>FullNameURLEncoded</strong>

End Sub

See Also