ROWHEIGHT

Returns the row height of the active cell.

'iRowNo - (Optional) The row number you want the height of.

Public Function ROWHEIGHT(Optional ByVal iRowNo As Integer = -1) As Single

   If iRowNo = -1 Then
      ROWHEIGHT = ActiveCell.RowHeight
   Else
      ROWHEIGHT = ActiveSheet.Rows(iRowNo & ":" & iRowNo).RowHeight
   End If

End Function



© 2019 Better Solutions Limited. All Rights Reserved. © 2019 Better Solutions Limited TopPrevNext