Message for Rick E or Juan Pablo or anyone mad enough to tackle the problem
Posted by Andy Evans on November 13, 2001 12:59 PM
Dear Rick Have tried the code which sort of works except that the routine ends with the column selected not the activecell of the record that was changed.
I have cobbled this code together which works as long as one of the cells is 'in' otherwise it crashes.
Sub find()
With Worksheets(1).Range("b1:B10")
Set c = .find("in")
If c = "in" Then
Range(c.Address).Select
End If
End With
End Sub
I tried changing it to this but it got worse (guess I'm barking up the wrong tree)
Sub find()
With Worksheets(1).Range("b1:B10")
Set c = .find("in")
If c = "in" Then
Range(c.Address).Select
Else
If c = "out" Then
MsgBox ("nope")
End If
End If
End With
End Sub