Width Property
This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.
Width property as it applies to the Window object.
Returns a Double that represents the width of the specified window. Read-only.
expression.Width
expression Required. An expression that returns a Window object.
Width property as it applies to the PivotAxisMember, PivotColumnMember, PivotFieldSet, PivotPageMember, PivotRowMember, PivotTable, and PivotTotal objects.
Returns or sets a Long that represents the width of the specified object. Read/write.
expression.Width
expression Required. An expression that returns one of the above objects.
Width property as it applies to the PivotAggregate, PivotDetailCell, PivotResultAxis, PivotResultColumnAxis, PivotResultDataAxis, PivotResultFilterAxis, PivotResultGroupAxis, PivotResultLabel, PivotResultPageAxis, and PivotResultRowAxis objects.
Returns a Long that represents the width of the specified object. Read-only.
expression.Width
expression Required. An expression that returns one of the above objects.
Width property as it applies to the Range object.
Returns a Variant that represents the width of the specified object. Read-only.
expression.Width
expression Required. An expression that returns a Range object.
Remarks
The AutoFit property of the PivotTable list is set to False when the value of the Width property is changed.
Example
This example sets the width of the PivotTable list to 150 points.
PivotTable1.Object.Width = 150