comconrk
Programmer
- Jul 15, 2002
- 55
I am having trouble with the following code. I am comparing two different worksheets and adding a record to one if it does not have a correspoinging vendor name.
This logic seems to work, except for embedded apostrophies. At that time the > does not seem to work properly.
Do I need to do something differently?
Thanks very much.
If UCase(Cells(jmast, 1)) > UCase(Vendor) Then
found = False
Exit For
End If
This logic seems to work, except for embedded apostrophies. At that time the > does not seem to work properly.
Do I need to do something differently?
Thanks very much.
If UCase(Cells(jmast, 1)) > UCase(Vendor) Then
found = False
Exit For
End If