I have an Excel project that has a problem if I use the ControlSource property of a list box in a userform to populate a cell on a worksheet. The problem ONLY occurs if the VBA editor is also open when the listbox is used. The problem occurs after selecting one of the list entries and exiting the userform. The reference cell contains the selected item but clears almost immediatly when data is entered into a completely unrelated cell. The attached (Zipped) example demonstrates the problem. Note that the problem does not occur until you open the VBA Editor. Also, I noticed that once the problem occurs, I don’t even have to use the userform! Just enter data into the cell, A2, and move the cursor.
This isn’t really critical since the user wouldn’t have VBA opened anyway, It’s just very inconveinient while developing and debuging.
Any help or suggestions would be appreciated.