Applies To
Application Object.
Description
Accessor. Returns a Workbook object that represents the workbook in the active window (the window on top). Read-only. Returns Nothing if no windows are open or if the active window is the Info window or the Clipboard window.
Example
This example displays the name (Name property) of the active workbook.
MsgBox "The name of the active workbook is " & ActiveWorkbook.Name