can anybody explain this code?
Posted by andy evans on November 14, 2001 6:27 AM
Dear helpful people
I have been given this code by someone on this message board and praise the lord it works!
I have since adapted it with further code which works fine.
The problem is I don't actually (fully) understand this source code.
I am a teacher and I want to use it with my students but if I don't know it i can't use it with them!
Is there anybody out there able to give me a simplistic line by line break down?
For example where is the 0 that is refered to in the error code at the end?
What specifically do lines 4, 5, 6, 11 and 12 do?
Thanks in advance
On Error Resume Next
Set c = .find("in")
If Not c Is Nothing Then
MsgBox "in not found!"
On Error GoTo 0
Set c = Nothing