View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Chris_Fifield[_3_] Chris_Fifield[_3_] is offline
external usenet poster
 
Posts: 1
Default Excel VBA Problem- Using Find Function

I see, thanks.

Tom Ogilvy wrote:
*Find doesn't produce an error when the item searched for is no
found. Code
that assumes the item will always be found produces the error

cells.Find("ZX2HZ")

doesn't produce an error

cells.Find("ZX2HZ").Activate

produces an error because it assumes the string is found.

--
Regards,
Tom Ogilvy


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