Workbook.FullName property (Excel)
Returns the name of the object, including its path on disk, as a string. Read-only String.
Syntax
expression.FullName
expression A variable that represents a Workbook object.
Example
This example displays the path and file name of the active workbook (assuming that the workbook has been saved).
MsgBox ActiveWorkbook.FullName
Support and feedback
Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.