StandardHeight 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.

Returns the standard (default) height of all the rows in the worksheet in points. Read-only Double.

expression.StandardHeight

expression   Required. An expression that returns a Worksheet object.

Example

This example resets the rows and columns in the active sheet of Spreadsheet1 to their default size.

  
Sub Reset_Height_Width()
     Dim shtActive
     Set shtActive = Spreadsheet1.ActiveSheet

     shtActive.Rows.RowHeight = shtActive.StandardHeight
     shtActive.Columns.ColumnWidth = shtActive.StandardWidth
End Sub