VBA if Vlookup problem

Barrowlad

New Member
Joined
Apr 4, 2019
Messages
18
Hi, could someone help me with this please, I am ok with excel but new to vba and my problem is this:
I have a userform with just a few textboxes and it is the first one I am having trouble with, I would have done it ages ago in excel but anyway, the userform is on a sheet called "start" and the textbox is called "player_name" and the place it is, is on a sheet called "data" and the range is A23:A107.
I am wanting to use Vlookup to see if he is aready in so as to add his stats, and if he isn't then add his name to the bottom of the range and add the new stats.
It is only that bit I cant do, I have been trying If(Vlookp in all combinations but to no avail, I bought the dummies guide and used google so you are my last hope.
The stats are on the userform but I should be able to do them if I (you) can sort this out please.
Thanks in advance.
Len
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.

Forum statistics

Threads
1,223,714
Messages
6,174,051
Members
452,542
Latest member
Bricklin

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
Back
Top