I have a macro which opens a userform with a listbox. I execute this macro by clicking a shape in a worksheet.
The problem is that sometimes when the userform pops up, the listbox catches the same mouse click from clicking the shape, and that selects an item on the list.
What is the best way to prevent this?
The problem is that sometimes when the userform pops up, the listbox catches the same mouse click from clicking the shape, and that selects an item on the list.
What is the best way to prevent this?