Syntax

expression.Comment

expression A variable that represents a Scenario object.

Remarks

The comment text cannot exceed 255 characters.

Example

This example sets the comment for scenario one on Sheet1.

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

See also: