I am trying to check if a string has certain prefixs. I am trying the following but it is not working correctly.
Where did I mess up on the syntax?
If Left(Me.LName, 2) <> "Mc" Or Left(Me.LName, 3) <> "Mac" Then LName = StrConv(Me.LName, vbProperCase)
Start Free Trial