Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User form for selecting rows

Status
Not open for further replies.

GoGz

Technical User
Apr 5, 2005
16
0
0
HR
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!
 
I'm only a beginner but I did it like this

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.

it worked for me.


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top