CB.SetExcel2007ForegroundMode

This function is used in Microsoft Excel 2007 to set the Normal Speed preference “Bring Microsoft Excel 2007 to the foreground while running Normal speed simulations (faster).” When set to True, this call runs simulations at optimal speed when using Normal speed in Microsoft Excel 2007. This call is equivalent to setting the referenced preference manually in the Normal Speed options dialog, accessed by selecting Run Preferences, then Speed, then Normal Speed, and then Options.

Table 178. CB.SetExcel2007ForegroundMode Parameter

Parameter

VBA Data Type

Value

Description

Enable

Boolean

True or False

Indicates whether to run Microsoft Excel 2007 in the foreground when using Normal speed. True is equivalent to manually checking the preference in the Normal Speed options dialog; False is equivalent to manually unchecking the preference.