Hi!
I have to create a user form for Excel... I have a list of accounts (classes from 0-9, with 3-5 digits). Form would be used to select one or more account that would be displayed...
How can I do that?
Thnx!
On a worksheet you have your accountnrs in a column
On your form you put a combobox
fill this combobox in the userform.activate event with these accountnos.
put on the userform all the textbox fields you need to display the data you want.
then in the afterupdate event of the combobox use the value choses with the .find method to get the data from your database associated with that accountno. and fill the textboxes on the userform with those values found.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.