UseStandardWidth Property

Microsoft Office Web Components Object Model

UseStandardWidth Property

       

True if the column width of the Range object equals the standard width of the sheet. Returns Null if the range contains more than one column and some of the columns are standard width. False when none of the columns are the standard width. Read/write Variant.

expression.UseStandardWidth

expression   Required. An expression that returns a Range object.

Example

This example sets the width of column B on Sheet1 in Spreadsheet1 to the standard width.

Spreadsheet1.Worksheets("Sheet1").Columns("B").UseStandardWidth = True