Application.ActiveSpreadsheetEx

This property returns the active input Spreadsheet. If the active spreadsheet is contained in a workbook, then the method can optionally return information about that workbook.

This property is read only.

Syntax Parameters Return Value
ReadOnly Property Application.ActiveSpreadsheetEx( _
    Optional bIncludeWorkbooks As Boolean = True) As Object
bIncludeWorkbooks [in]

Type: Boolean

Default value: True

Object