change row height : Row « Excel « VBA / Excel / Access / Word






change row height

 
Private Sub ChangeRowHeight(Height As Variant)
    If IsNumeric(Height) Then
        If Height > 0 And Height < 100 Then
            Me.Rows.RowHeight = Height
        ElseIf Height = 0 Then
            Me.Rows.RowHeight = Me.StandardHeight
        End If
    End If
End Sub

 








Related examples in the same category

1.Select active row
2.Clearing a range differs from deleting a range. When you delete a range, Excel shifts the remaining cells around to fill up the range you deleted.
3.Select entire row
4.Select first to last row
5.Get the last row and last cell
6.Set the color row by row
7.Delete empty rows
8.Bold cells in a Row
9.Array to rows
10.Array to rows - method (Limited to 65,536)
11.Is in last row
12.returns a number that represents the last nonempty cell in the same row