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.
=SUBTOTAL(3,A:A)-1
Range("_FilterDatabase").SpecialCells(xlCellTypeVisible).Count
MGNCnt = Range("_FilterDatabase").Columns(1).SpecialCells(xlCellTypeVisible).Count - 1
MGNCnt = Range("_FilterDatabase").SpecialCells(xlCellTypeVisible).Rows.Count - 1
Sub c()
Dim lTotRows As Long
Dim lCells As Long, iCols As Integer
With Range("_FilterDatabase")
lCells = .SpecialCells(xlCellTypeVisible).Count
iCols = .Columns.Count
End With
lTotRows = (lCells / iCols) - 1
MsgBox "Total Filtered Rows = " & lTotRows
End Sub
Sub d()
Dim lRow As Long, lCount As Long
With Range("_FilterDatabase").SpecialCells(xlCellTypeVisible)
For lCount = 1 To .Areas.Count
lRow = lRow + .Areas(lCount).Rows.Count
Next
End With
MsgBox "Total Filtered Rows = " & lRow - 1
End Sub