Error troubles!

  • Thread starter Thread starter Joe Holzhauer
  • Start date Start date
J

Joe Holzhauer

Hi!

I'm having trouble with a pesky bug. I'm trying to lock a text box with
VBA, but I keep getting error #2166: You can't lock a control while it has
unsaved changes.

The textbox is disabled on the form by default, so there can't possibly be
any unsaved changes (can there?). Does anyone have any ideas about this?

Thanks!
Joe
 
I'm pretty sure I never touch it prior to trying to lock it. Is there a way
I can save any changes just to avoid the error?

Thanks!
Joe
 
Back
Top