I want to count how many "woman" values in my person array. Example as follows :
Can anybody share the solution for the function if there is ? Thank you.
Private Sub CommandButton1_Click()
Dim person(1 To 5) As String
person(1) = "man"
person(2) = "woman"
person(3) = "woman"
person(4) =...