FullName Property

Microsoft Excel Visual Basic

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

Remarks

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

Example

This example displays the path and file name of every available add-in.

For Each a In AddIns
    MsgBox a.FullName
Next a
		

This example displays the path and file name of the active workbook (assuming that the workbook has been saved).

MsgBox ActiveWorkbook.FullName