Share via


WorkbookBase.FullName Property

Definition

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

public:
 property System::String ^ FullName { System::String ^ get(); };
public string FullName { get; }
member this.FullName : string
Public ReadOnly Property FullName As String

Property Value

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

Examples

The following code example uses the FullName property to display the full name of the workbook, including its path.

This example is for a document-level customization.

private void DisplayFullName()
{
    MessageBox.Show("The path and name of the current workbook is: " +
        this.FullName);
}
Private Sub DisplayFullName()
    MsgBox("The path and name of the current workbook is: " & _
        Me.FullName)
End Sub

Remarks

This property is equivalent to the Path property, followed by the current file system separator, followed by the Name property.

Applies to