Link textbox2 to textbox1 via a vlookup

  • Thread starter Thread starter paulwes
  • Start date Start date
P

paulwes

Hi
I am looking to post a number in textbox1 and have this formula in
textbox 2 =vlookup(textbox1, database,2,0).
Could somebody please help
thanks
 
Are you asking for the result of the formula to appear in textbox 2?

Try this.....

textbox2.Value = Application.WorksheetFunction.VLookup(textbox1.Value,
database, 2, 0)
 

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

Back
Top