trader07
I would use double click in the worksheet as its empty
Private Sub Worksheet_BeforeDoubleClick(ByVal _
Target As Range, Cancel As Boolean)
If Not Intersect(Target, Me.Range("H2:H100,K2:K100")) Is Nothing Then
UserForm1.Show
Cancel = True
End If
End Sub
and change the userform to
Private Sub OKButton1_Click()
Dim strFind As String
Dim rSearch As Range
Set rSearch = Sheet1.Range("O2:O65")
strFind = Me.TextBox2.Value
With rSearch
Set c = .Find(strFind, LookIn:=xlValues)
If Not c Is Nothing Then 'found it
' c.Select
Me.TextBox1.Value = Me.TextBox1.Value & " " & c.Offset(0, 1).Value
ActiveCell.Value = Me.TextBox1.Value
Else: MsgBox strFind & " not listed" 'search failed
End If
End With
End Sub
Bookmarks