UserForm Tab/Enter Keys quit functioning

Big Lar

Well-known Member
Joined
May 19, 2002
Messages
557
With Excel 2003(SP3)…on occasion, my UserForm’s Tab/Enter functions cease to function.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p>
<o:p></o:p>
After Textbox data entry, Tab keystrokes tab inside the TextBox and Enter keystrokes do nothing. The lock up occurs randomly, on different TextBoxes. And once the lockup occurs, it continues every time the application is started.
<o:p></o:p><o:p></o:p>
Users can still select Textboxes with mouse clicks and enter data into TextBoxes and all procedures continue to function.<o:p></o:p>
<o:p></o:p><o:p></o:p>
I can resolve the lockup by entering VBA editor, Select All UserForm code, Cut, and Paste the code back into the UserForm module.<o:p></o:p>
<o:p></o:p>
Any idea why this happens? And, is there a resolution?<o:p></o:p>
 

Excel Facts

Format cells as date
Select range and press Ctrl+Shift+3 to format cells as date. (Shift 3 is the # sign which sort of looks like a small calendar).
You can set the tab order for controls from within the VBA Editor.

Select View => Tab Order

Use the Move Up/Down buttons to set the tab order for the controls.
 
Upvote 0
It may be that your workbook is becoming corrupt. I'd try running Code Cleaner on it first and see if that helps.
 
Upvote 0

Forum statistics

Threads
1,224,503
Messages
6,179,136
Members
452,890
Latest member
Nikhil Ramesh

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