M
morry
In column B of my spreadsheet i have descriptions that are about twent
or so words long. I want to count the one's that contain specific tex
such as "Gate 4" contained in the text. I listed the code that i hav
made so far. Could somebody tell me what is wrong with my code.
Sub Count_Gate()
Dim Gate1 As Integer
Dim Gate2 As Integer
Dim Gate4 As Integer
Gate1 = 0
Gate2 = 0
Gate4 = 0
Do
If Columns("B:B") = "Gate 1" Then
Gate1 = Gate1 + 1
End If
Loop Until Range("B:B").End(xlUp).Row
Thank you
Morr
or so words long. I want to count the one's that contain specific tex
such as "Gate 4" contained in the text. I listed the code that i hav
made so far. Could somebody tell me what is wrong with my code.
Sub Count_Gate()
Dim Gate1 As Integer
Dim Gate2 As Integer
Dim Gate4 As Integer
Gate1 = 0
Gate2 = 0
Gate4 = 0
Do
If Columns("B:B") = "Gate 1" Then
Gate1 = Gate1 + 1
End If
Loop Until Range("B:B").End(xlUp).Row
Thank you
Morr