Hi!
I'm trying to handle an error when the user deletes the value selected in combo box which eventually leads to the "You tried to assign the Null value to a variable that is not a Variant data type" error message. I haven't even thought about it before receiving user feedback on this thing.
I have a combo box that is limited to list and I can handle errors when the user writes something unexpected in the combo box, using the "On Not In List" event, but apparently this event is not triggered in case of deletion (= Null value).
I've tried to put extra code under different events to prevent the Null value error message, with little success. Any suggestions?
Cheers,
Ryko
I'm trying to handle an error when the user deletes the value selected in combo box which eventually leads to the "You tried to assign the Null value to a variable that is not a Variant data type" error message. I haven't even thought about it before receiving user feedback on this thing.
I have a combo box that is limited to list and I can handle errors when the user writes something unexpected in the combo box, using the "On Not In List" event, but apparently this event is not triggered in case of deletion (= Null value).
I've tried to put extra code under different events to prevent the Null value error message, with little success. Any suggestions?
Cheers,
Ryko