I have two list boxes on a userform, on which only one may contain a selected item at any one time. I am trying to code a click box that says:
When click box is unchecked then if listbox1 contains a selected item then run this code, if listbox2 contains a selected item then run this code.
I can't figure out the coding for the checkbox when its unselected, and also the coding to check if a list box contains a selected item.
When click box is unchecked then if listbox1 contains a selected item then run this code, if listbox2 contains a selected item then run this code.
I can't figure out the coding for the checkbox when its unselected, and also the coding to check if a list box contains a selected item.