Be sure items are the same data type and then:
Function fselectMe (value1, value2)
If value1 = value2 Then
fSelectMe = "SELECTED"
Else
fSelectMe = ""
End If
End Function
Populating a dropdown box from a table in a database
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.