View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Ron de Bruin Ron de Bruin is offline
external usenet poster
 
Posts: 11,123
Default Using Find method

Hi wade

One way is to use a On Error Resume Next


On Error Resume Next
Range("A1:A125").Find("Name").Select
On Error GoTo 0


--
Regards Ron de Bruin
(Win XP Pro SP-1 XL2000-2003)
www.rondebruin.nl



"wade " wrote in message ...
Hello - I am using a find method to search for a name in a given range.
For example, i use something like this,

Range("A1:A125").Find ("Name").select

to select the cell so that I can reference the row index. My problem
is handling those names that do not exist at the time.
The list will eventually have the name but at certain points of the
month it will not. how do i get around this problem. I have tried to
jusst through it into an error handler, but this is messy. Pls help

wade


---
Message posted from http://www.ExcelForum.com/