How to remove selection highlighting from a listbox

A

A C

Hello

We have 2 listboxes on a form. If the user clicks on an entry in the first
list box it highlights that row/selection black. If they then click a row
on the next listbox the first listbox stays highligted/selected/black. We
would like the first box to be "cleared" of any selection if they click on
the second list box.

Is someone able to point me to the methods/properties for doing this in VBA?

Thanks
A
 
T

tina

in the AfterUpdate event procedure of the second listbox control, try

Me!FirstListBox = Null

hth
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top