Skip to main content

Workbook.Path property

Table of contents
  1. Syntax
  2. Examples

Returns a String that represents the complete path to the workbook/file that this workbook object represents.



expression A variable that represents a Workbook object.


This example displays a message of the active workbook complete path (D:\MyWork\ArtWork).

MsgBox ActiveWorkbook.Path

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>