By using expertatexcel.com you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

expertatexcel.com

 


ThisWorkbook

ThisWorkBook is a WorkBook object that represents the currently running Code

Any properties that are available in a Workbook are available in ThisWorkbook.

The ThisWorkBook also contains the Events for the workbook as a whole.

Some of the typical methods are
  • ThisWorkbook.Activate
  • ThisWorkbook.Sheets("...").Range("...")
  • ThisWorkbook.Path
  • ThisWorkbook.Name


    Some of the typical Events are:
  • Workbook_open
  • Workbook_BeforeClose
  • Workbook_SheetChange
  • Workbook_SheetSelectionChange

  •