Error troubles!

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
 
J

Joe Holzhauer

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top