StaSpreadsheet.BeforeAddToWorkbook

This event is called before spreadsheet is added to a workbook.

Syntax Parameters Return Value
Event StaSpreadsheet.BeforeAddToWorkbook( _
    ByRef Mode As WorkbookInsertOption)
Mode [in,out]

Type: WorkbookInsertOption

-