Ηι haggis999!
No, you haven’t missed something. You are absolutely right!
As I said, I created it recently as part of a project for personal use but I didn’t use it enough and the project is still under construction. I started with a single select Listbox and the cmdAdd/cmdRemove procedures remained from that step.
So, your insightful comment gave me the reason to check it again and, in actually, to rewrite the code almost from scratch. As you see, we build it together and, you help me more than I help you.
Now, the cmdAddAll/cmdRemoveAll acts to all items, not only to selected and the cmdAdd/cmdRemove command buttons have renamed to cmdAddSelected/cmdRemoveSelected. Some other issues fixed and some features added.
Also, now you can move the selected items between Listboxes using the Left/Right arrows and with Ctrl+Left/Right can move all the list items of each Listbox. That’s reduces the Clicks to zero.
Apply it to your needs as you did with the previous and try it. I think that now works really fine.
Good luck with your project!
Cheers,
John
P.S.
In Greece, we say: The day is laughing with the night's works.
(I don't know if I translate it correctly)
P.S.2 (Edit)
The .Top property replaced with the .Left in the "Move..." procedures.
Seems that I have a demon in my keyboard...!