lk = "Like"
lm = " WwgCore.RICHTEXT "
cD = Trim(cD)
cD = Replace(cD, " ", " ")
cD = Replace(cD, ",", " ")
cD = Replace(cD, "#", "")
cD = Replace(cD, """", "")
' how many items are in the cell ? build an array
nF1 = cD
cArrSql = Split(nF1, " ")
' search through the cell requests tokens.
For x = LBound(cArrSql) To UBound(cArrSql)
If x = UBound(cArrSql) Then
nF1 = Trim(nF1 & " " & Chr(34) & "%" & cArrSql(x) & "%" & Chr(34))
Else
If x = 0 Then
nF1 = Trim(Chr(34) & "%" & cArrSql(x) & "%" & Chr(34) & " AND" & lm & lk & " ")
Else
nF1 = Trim(nF1 & " " & Chr(34) & "%" & cArrSql(x) & "%" & Chr(34) & " AND" & lm & lk & " ")
End If
End If
Next
rng2 = nf1
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE