Comment Property

Applies To

Scenario Object.

Description

Returns or sets the comment associated with the scenario. The comment text cannot exceed 255 characters. Read-write.

See Also

ChangeScenario Method, ChangingCells Property.

Example

This example sets the comment for scenario one on Sheet1.


Worksheets("Sheet1").Scenarios(1).Comment = _
    "Worst case July 1993 sales"