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

Can you sort left to right?
To sort left-to-right, use the Sort dialog box. Click Options. Choose "Sort left to right"
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,039
Messages
6,122,802
Members
449,095
Latest member
m_smith_solihull

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