Vlookup funtion in Userform
It should work.
is the code called from the form?
and in what way does it not work?
--
__________________________________
HTH
Bob
wrote in message
...
Hi All,
i really wonder why I cannot refer the textbox value in the userform
while using vlookup function in VBA.
For example:
' TextBox6 = Application.VLookup(Userform1.TextBox1.value,
Sheet4.Range("staff"), 3, False)
Any idea why above code does not work?
Thanks a lot
Baha
|