Library.OnActiveDocument

This event is called when Application.Active[Graph|Spreadsheet|Workbook|etc] is called.

Syntax Parameters Return Value
Event Library.OnActiveDocument( _
    type As DocumentType, _
    ByRef Document As Object)
  • type [in]

Type: DocumentType

  • Document [out]

Type: Object

-