Workbook.BeforeInsertObject

This event is called when an object is about to be inserted into the Workbook.

Syntax Parameters Return value
Event Workbook.BeforeInsertObject( _
    WorkbookItem As WorkbookItem, _
    Placement As WorkbookPlacement, _
    ObjectToBeInserted As Object, _
    ByRef Cancel As Boolean)
  • WorkbookItem [in]

    Type:

  • Placement [in]

    Type:

  • ObjectToBeInserted [in]

    Type: Object

  • Cancel [in, out]

    Type: Boolean

-