Combo Box Error
Help Needed
I am using the following code to accomdate apostrophes in my combo box
Private Sub Combo8_Dirty(Cancel As Integer)
Dim srchreplace As String
Dim gfindstring As String
If (InStr(Combo8, "'")) Then
gfindstring = srchreplace(Combo8)
Else
gfindstring = Combo8
End If
End Sub
but when a person's name appears in the combo box with an apostrophes I am getting the following error message
Error no 3077 Description Syntax error (Missing operator)in expression
Brendan Bartley
__________________
Brendan Bartley
|