Scenario.ChangingCells property (Excel)

Returns a Range object that represents the changing cells for a scenario. Read-only.

Syntax

expression.ChangingCells

expression A variable that represents a Scenario object.

Example

This example selects the changing cells for scenario one on Sheet1.

Worksheets("Sheet1").Activate 
ActiveSheet.Scenarios(1).ChangingCells.Select

Support and feedback

Have questions or feedback about Office VBA or this documentation? Please see Office VBA support and feedback for guidance about the ways you can receive support and provide feedback.