HopeQ
asked on
MS Access VBA Listbox
I am trying to build two listboxes by using ACCESS 2010. See my attachment please. So far I can load a list of names in the left listbox. What I need to do are:
1). Can select names from the left listbox. (so far the name list cannot be selected)
2). click the arrow button then the selected name(s) can move to the right listbox. So far I don't have any code. I forgot how to do it.
Can you help me? I am waiting for your directions while trying to figure it out. Thank you.
twoListBoxes.docx
1). Can select names from the left listbox. (so far the name list cannot be selected)
2). click the arrow button then the selected name(s) can move to the right listbox. So far I don't have any code. I forgot how to do it.
Can you help me? I am waiting for your directions while trying to figure it out. Thank you.
twoListBoxes.docx
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
You can put the code in your button OnClick event procedure. The code is an example. It really depends on what the row sources are for your two list boxes.
ASKER
Thank you guys.
ASKER
I am still waiting for solution. I wanted use the Button-click to write some code to move the selection from left listbox to the right listbox.