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
[VBA]If cboCity.Value = cboCntry.Value Then
msgbox "Same"
else
msgbox "Not Same"
end if[/VBA]