nuttycow13

New Member
Joined
Feb 6, 2012
Messages
47
Hi i am trying to get a text box to search a worksheet and read the information in that row and input it to other text boxes. at this time all i need to get working is to read the text box and search on the worksheet. so far i have:

Range("B1").Find(Columns("b")(Find_Printer.Text, , , xlWhole, , , True).Row, 1)(xlDown).Select

but this does not work at all.

I need to read column B for what is in Find_Printer text box.

If anyone could help me that would be great.

Thanks in advance.
 

Excel Facts

Create a chart in one keystroke
Select the data and press Alt+F1 to insert a default chart. You can change the default chart to any chart type

taurean

Well-known Member
Joined
Jun 17, 2011
Messages
2,188
Office Version
  1. 365
  2. 2016
Platform
  1. Windows
Try something like:
Code:
Dim r As Range
Set r = Columns("B:B").Find(Find_Printer.Text, , , xlWhole, , , True)
This will set the found cell to variable r.
 

Forum statistics

Threads
1,136,780
Messages
5,677,688
Members
419,712
Latest member
LearningCR

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