Jump to a value in a Column...

Matty

Well-known Member
Joined
Feb 17, 2007
Messages
3,717
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

Spell Check in Excel
Press F7 to start spell check in Excel. Be careful, by default, Excel does not check Capitalized Werds (whoops)
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
 
Upvote 0

Forum statistics

Threads
1,215,064
Messages
6,122,936
Members
449,094
Latest member
teemeren

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
Back
Top