Searching Columns

P

Pat

I'm looking to code a button that does the following. There are two
values entered on sheet1, Textbox1 and TextBox2. When the button is
clicked on sheet1 the program should search sheet2 columnA for any
matches to the value entered in TextBox1. If a match is found then the
value from TextBox2 is inserted into columnB like so:


I.e. TextBox1 = XXXXX TextBox2 = 1234

ColumnA ColumnB
XXXXX 1234

Any help would be much appreciated.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top