Guest_imported
New member
- Jan 1, 1970
- 0
How do you make this statement work? I need it to check for double quotes, but the single quotes aren't cutting it.
For index = 1 To Len(txtDescription.Text)
If Mid(txtDescription.Text, index) = "''" Then
Call MsgBox("Description may not contain double quotes.", vbOKOnly + vbInformation)
Call txtDescription.SetFocus
Exit Sub
End If
Next index
For index = 1 To Len(txtDescription.Text)
If Mid(txtDescription.Text, index) = "''" Then
Call MsgBox("Description may not contain double quotes.", vbOKOnly + vbInformation)
Call txtDescription.SetFocus
Exit Sub
End If
Next index