Tab, Escape, and Enter keys not working sometimes in user form?

Jozemite_Apps

New Member
Joined
May 2, 2017
Messages
1
I have a somewhat complex user form with text fields, combo boxes, check boxes, and radio buttons.

Sometimes, about 40% of the time when the user form is opened and starts at the first text box, keyboard commands do not work. This means that Tab does not go to the next field, Enter does not close the user form, and Escape does not close the user form either. I can type in the text boxes like normal.

I don't have any code either modifying the behavior of any control in the user form. All done through the editor. All controls have TabKeyBehavior to False and Tabstop to True.

if this happens, I found out the ONLY way to fix it without closing the user form or reopening the file is to push F1 to open the help window, close it, and the user form works as intended.

This is a file that gets used by over 8 coworkers so I this bug is really annoying. I have even before deleted the user form and recreated it from scratch but that didn't fix it. I also made an entire new excel file and redid the entire project there (different code) and bug is still there.
 

Excel Facts

Using Function Arguments with nested formulas
If writing INDEX in Func. Arguments, type MATCH(. Use the mouse to click inside MATCH in the formula bar. Dialog switches to MATCH.

Forum statistics

Threads
1,214,649
Messages
6,120,732
Members
448,987
Latest member
marion_davis

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top