CB.IsCBObject

This function determines if a worksheet or workbook contains Crystal Ball data.

Table 142. CB.IsCBObject Returned Data Type

Returned Value

Returned Data Type

Whether the current worksheet or workbook contains Crystal Ball data

Boolean

Most of the Developer Kit subroutines and function will not work if the active worksheet or workbook does not contain Crystal Ball data.

Table 143. CB.IsCBObject Parameters

Parameter

VBA Data Type

Value

Description

AnObject

Variant

A Microsoft Excel workbook or worksheet. For example: Worksheet("Sheet1")

Points to the worksheet or workbook to check for Crystal Ball data