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
 

Some videos you may like

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.

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
 

Watch MrExcel Video

Forum statistics

Threads
1,122,469
Messages
5,596,316
Members
414,053
Latest member
Dual Showman

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