Get the row height of a cell

=rowsize() is the row height of the active cell

=rowsize(A1) is the row height of cell A1



Function RowSize(Optional varCell As Variant)
 If IsMissing(varCell) Then
  RowSize = ActiveCell.RowHeight
 Else
  RowSize = varCell.RowHeight
 End If
End Function



© Copyright andrewsexceltips.net All Rights Reserved.