<scenario> (Scenario)

An individual scenario description. See parent element for example.

Parent Elements

<scenarios>3.3.1.74)

Child Elements

Subclause

<inputCells> (Input Cells)

§3.3.1.49

Attributes

Description

<comment> (Scenario Comment)

Comment for this scenario, rich text not supported.

The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96).

<count> (Changing Cell Count)

Number of input cells.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

<hidden> (Hidden Scenario)

Scenario is hidden when the sheet is protected and 'edit scenarios' is not enabled in sheet protection options. If the scenario is marked as hidden but sheet protection options specify to allow editing scenarios, then the scenario shall not be hidden.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<locked> (Scenario Locked)

Scenario is locked for editing when the sheet is protected. If sheet is protected and "edit scenarios" is enabled, then this setting is ignored.

The possible values for this attribute are defined by the XML Schema boolean datatype.

<name> (Scenario Name)

Scenario's name (user input). Must be unique for the workbook.

The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96).

<user> (User Name)

Name of user who last changed the scenario.

The possible values for this attribute are defined by the ST_Xstring simple type (§3.18.96).

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Scenario">
	<sequence>
	<element name="inputCells" type="CT_InputCells" minOccurs="1" maxOccurs="unbounded"/>
	</sequence>
	<attribute name="name" type="ST_Xstring" use="required"/>
	<attribute name="locked" type="xsd:boolean" use="optional" default="false"/>
	<attribute name="hidden" type="xsd:boolean" use="optional" default="false"/>
	<attribute name="count" type="xsd:unsignedInt" use="optional"/>
	<attribute name="user" type="ST_Xstring" use="optional"/>
	<attribute name="comment" type="ST_Xstring" use="optional"/>
</complexType>