Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Public Property Get xlMaxRows() As Long
Select Case Val(Application.Version)
Case Is < 8
xlMaxRows = 16384
Case 8 To 11
xlMaxRows = 65536
Case 12
xlMaxRows = 1048576
End Select
End Property
Sub TestMyExcel()
MsgBox xlMaxRows
End Sub
Public Property Get xlMaxRows() As Long
xlMaxRows = thisworkbook.sheets(1).rows.count
End Property
Sub TestMyExcel()
MsgBox xlMaxRows
End Sub