G
greg7468
Hello all,
I have this macro, when a number is placed in B1 finds tha
number in column A and jumps to it.
It works fine when column A is all numbers but doesn't seem t
work if I put text and numbers in.
I would like it to do the same when say looking for text an
numbers so I could put X100 in B1 and it still jump to the same valu
in column A.
Could someone please help as to whether this is possible with
bit of tweaking.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$B$1" Then Exit Sub
Set x = Columns(1).Find(Target.Value)
Application.Goto Range(x.Address), Scroll:=True
End Su
I have this macro, when a number is placed in B1 finds tha
number in column A and jumps to it.
It works fine when column A is all numbers but doesn't seem t
work if I put text and numbers in.
I would like it to do the same when say looking for text an
numbers so I could put X100 in B1 and it still jump to the same valu
in column A.
Could someone please help as to whether this is possible with
bit of tweaking.
Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Address <> "$B$1" Then Exit Sub
Set x = Columns(1).Find(Target.Value)
Application.Goto Range(x.Address), Scroll:=True
End Su