expression.FullNameURLEncoded
expression Required. An expression that returns one of the objects in the Applies To list.
Example
In this example, Microsoft Excel displays the path and file name of the active workbook to the user.
Sub UseCanonical()
' Display the full path to user.
MsgBox ActiveWorkbook.FullNameURLEncoded
End Sub