When the code below is placed behind a command button, if ListBox1 has 1 item in it a message box will appear. However if ListBox1 has 2 or more items in it another macro will run. I want to alter the code so it will check whether the value in ListBox1 is equal to 1.If the value is equal to 1 then I’d like to display the message box. If the value is greater than 1, I would like to call the alternative code. The code I am using looks at the number of items in the ListBox not the value. I am not sure how to get the code to look at the value. Thank you in advance.
Bookmarks