To test the number of times a string occurs within a single cell, you can use the following function:
Function CountString(rngWorklog As Range, _
strSearchText As String) As Integer
Dim strWorklog As String
Dim intSubtract As Integer
Dim intFound As Integer
Dim intCount As Integer
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.