CB.FreezeND Example

This example resets the model, adds cells B6 and B7 to the list of frozen (enabled) cells, clears those cells from the list along with any others added previously, selects cell C5, and then adds it to the list of frozen cells. Then, the last line sets this list to be the list of cells to freeze during any simulations. Cell C5 is the only cell included in the final list.

CB.ResetND
Range("B6").Select
CB.FreezeND cbFrzAddCell
Range("B7").Select
CB.FreezeND cbFrzAddCell
CB.FreezeND cbFrzClearList
Range("C5").Select
CB.FreezeND cbFrzAddCell
CB.FreezeND cbFrzSetList, True