Skip to main content

Workbook.FullName property

Table of contents
  1. Syntax
  2. Example

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

Leave a comment

Your email address will not be published. Required fields are marked *

Format your code: <pre><code class="language-vba">place your code here</code></pre>