D
David Thielen
I have a search where I call it using:
Range rtn = searchRange.Find("<wr:", startAfter, XlFindLookIn.xlValues,
XlLookAt.xlPart, XlSearchOrder.xlByRows, XlSearchDirection.xlPrevious, false,
false, Type.Missing);
Where searchRange and after are both a Range that is 1 cell - A1. The rtn
Range is the cell B4 which does have the requested text - but is outside the
requested range.
This appears to only be a problem for previous searches.
I have found the same problem when it is a range and I then call:
rtn = searchRange.FindNext(rtn);
which will wrap and start searching from the end again.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm
Range rtn = searchRange.Find("<wr:", startAfter, XlFindLookIn.xlValues,
XlLookAt.xlPart, XlSearchOrder.xlByRows, XlSearchDirection.xlPrevious, false,
false, Type.Missing);
Where searchRange and after are both a Range that is 1 cell - A1. The rtn
Range is the cell B4 which does have the requested text - but is outside the
requested range.
This appears to only be a problem for previous searches.
I have found the same problem when it is a range and I then call:
rtn = searchRange.FindNext(rtn);
which will wrap and start searching from the end again.
--
thanks - dave
david_at_windward_dot_net
http://www.windwardreports.com
Cubicle Wars - http://www.windwardreports.com/film.htm