Jump to a value in a Column...

Matty

Well-known Member
Joined
Feb 17, 2007
Messages
3,710
Hello All,

I am well aware of Excel's "Find..." feature, but I'm interested to know whether the following is possible...

I have a Column of data (Column B). Is it possible, by means of entering a value in a text box, that if that value exists in Column B, I would be taken directly to the Cell that contains said value?

It's just a bit of functionality I'd like to have within a Worksheet I'm pulling together, as it would save a couple of clicks...

Thanks,

Matty
 

Excel Facts

What is =ROMAN(40) in Excel?
The Roman numeral for 40 is XL. Bill "MrExcel" Jelen's 40th book was called MrExcel XL.

VoG

Legend
Joined
Jun 19, 2002
Messages
63,650

ADVERTISEMENT

Try

Code:
Sub TBValue()
Dim Found As Range
Set Found = Columns("B").Find(what:=ActiveSheet.TextBoxes("textbox 1").Text)
If Not Found Is Nothing Then Application.Goto reference:=Found, scroll:=True
End Sub
 

Matty

Well-known Member
Joined
Feb 17, 2007
Messages
3,710
Thanks VoG II, but how/what executes the jump to occur?

Matty
 
Master Excel Bundle

Excel contains over 450 functions, with more added every year. That’s a huge number, so where should you start? Right here with this bundle.

Forum statistics

Threads
1,164,099
Messages
5,835,375
Members
430,353
Latest member
GS90

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top