This documentation is archived and is not being maintained.

Workbook.FullNameURLEncoded Property (2007 System)

Gets the name of the object, including its path on disk.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Excel.v9.0 (in Microsoft.Office.Tools.Excel.v9.0.dll)

public string FullNameURLEncoded { get; }

Property Value

Type: System.String
The name of the object, including its path on disk.

The following code example uses the FullNameURLEncoded property to display the full name of the workbook, including its path, encoded as a URL.

This example is for a document-level customization.

private void DisplayFullNameURLEncoded()
{
    MessageBox.Show("The path and name of the current workbook is: " +
        this.FullNameURLEncoded);
}

Show: