I am trying to lock a control (textbox) in a sub on a change event on another textbox. I am getting this error:
run-time error 2166
You can't lock a control while it has unsaved changes
Now I have not made any changes to this control that I'm trying to lock; when I test it it shows a value of Null.