Av8tordude
Well-known Member
- Joined
- Oct 13, 2007
- Messages
- 1,075
- Office Version
- 2019
- Platform
- Windows
I have this vba code below that I'm using to count, but I would like to use subtotal to count the number of visible filtered data. Can someone assist?
Thank you kindly.
Thank you kindly.
Code:
CCP.Caption = WorksheetFunction.CountIfs(Range("D15:D" & LRow), ">=" & "01/01/" & cbYr, Range("D15:D" & LRow), "<=" & "12/31/" & cbYr)