av8tordude
08-11-2011, 01:32 PM
I have this code in a userform button that is check if the data in the combo boxes are the same, but it does not seem to work. I believe it written correctly, but I could be wrong. Can someone assist. Thanks
If cboCity.Value = cboCntry.Value Then
msgbox "Same"
else
msgbox "Not Same"
end if
If cboCity.Value = cboCntry.Value Then
msgbox "Same"
else
msgbox "Not Same"
end if