View Single Post
  #5   Report Post  
Posted to microsoft.public.excel.programming
Steff_DK[_9_] Steff_DK[_9_] is offline
external usenet poster
 
Posts: 1
Default Cells.find restricted to a single range??

I get error 424 object req'd...

Dunno why :-/


Dim FoundCell As Range
Set FoundCell = Range("case").Find(What:=iSpecific, After:=Range("A1")
LookIn:=xlFormulas, LookAt _
:=xlWhole, SearchOrder:=xlByColumns, SearchDirection:=xlNext
MatchCase _
:=False, SearchFormat:=False).Activate

If FoundCell Is Nothing Then
MsgBox ("Number doesn't exist.")
Else
FoundCell.Activat

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