Application ThisWorkbook Property

Purpose

Returns a Workbook object that represents the workbook where the current macro code is running. Read-only.

Syntax

ThisWorkbook