Can anyone help, i keep getting a "Run-time Error 438: object doesnt support this property or method" when i run the Find code below, i've bolded the section is highlights in the code.
Any ideas?
Thanks
Rich (BB code):
Sub Find_First()
Dim FindString As String
Dim Rng As Range
FindString = InputBox("Enter a Search value")
If Trim(FindString) <> "" Then
With Sheets("LookupTables").Range("E:E")
Set Rng = .Find(What:=FindString, _
After:=.Cells(.Cells.Count), _
LookIn:=xlValues, _
LookAt:=xlWhole, _
SearchOrder:=xlByRows, _
SearchDirection:=xlNext, _
MatchCase:=False)
If Not Rng Is Nothing Then
Application.Goto Rng, True
Else
MsgBox "Nothing found"
End If
End With
End If
ActiveCell.Offset(0, -4).Select
Range("A1").Value = ActiveCell.Value
With Sheets("LookupTables")
.UserForm1.Enabled = True
TextBox1.Text = .Range("LookupTables!A2").Value
TextBox2.Text = .Range("LookupTables!A3").Value
TextBox3.Text = .Range("LookupTables!A4").Value
TextBox4.Text = .Range("LookupTables!A5").Value
End With
End Sub
Any ideas?
Thanks