View Single Post
  #4   Report Post  
Posted to microsoft.public.excel.programming
Reinhold Klein Reinhold Klein is offline
external usenet poster
 
Posts: 1
Default Runtime error 91

Jim Rech wrote:

Sub Test()
Dim FoundCell As Range
On Error Resume Next
Set FoundCell = Range("B:B").Find(Range("D1").Value)
If Not FoundCell Is Nothing Then
FoundCell.Offset(0, 1).Copy Range("F1")
End If
End Sub



Thanks

it's easy but it's works

Reiner