QS.OBJECT.COUNT¶
Counts live objects in this workbook, or all open workbooks when TRUE
Category: QuantSupport - System.
- QS.OBJECT.COUNT(all_workbooks: cell or range) integer¶
- Parameters:
all_workbooks (cell or range) – Optional TRUE counts live objects across all workbooks in this Excel instance; omitted or FALSE counts the calling workbook
- Returns:
Integer count of live object identities in the calling workbook (or all workbooks when TRUE), capped at i32 maximum; revisions are not counted separately.
- Return Type:
integer
- Errors:
#VALUE! for an invalid all_workbooks flag; use TRUE/FALSE or leave it blank.
Formula¶
=QS.OBJECT.COUNT(all_workbooks)
Calculation¶
Runs on Excel’s main calculation thread.
Native Declaration¶
fn qs_object_count (all_workbooks : * const XLOPER12) -> Result < i32 , XllError >