Patriot2879
Well-known Member
- Joined
- Feb 1, 2018
- Messages
- 1,259
- Office Version
- 2010
- Platform
- Windows
Hi I have the code below but i want to change cell A2 to a 'TextBox1' as now instead of using cells and vlookup i want to put this into a userform instead, so in textbox1 i will enter the data to search then in textbox3 and textbox4 it will display automatically the results, can you help please, i am new to this still
Code:
result = [VLOOKUP(Sheet2!A2, Data!A:AA, 3, FALSE)]