ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   Tabs in Text Boxes (https://www.excelbanter.com/excel-programming/377709-tabs-text-boxes.html)

Graham Y

Tabs in Text Boxes
 
Anyone any idea why when I press tab key I get a tab in the text box?
TabKeyBehavior = False
If I Alt Tab twice (out of XL & back again) it starts working properly!

Mark Ivey

Tabs in Text Boxes
 
I believe the TabKeyBehavior is the control to tab (move) between different
objects on that form, not to eliminate an actual tab you may perform in the
textbox. Using an ALT TAB will alternate between different running programs
within all of Windows. When you ALT TAB back into MS Excel, I'll bet your
form (or the textbox within the form) isn't selected any longer.

Just my thoughts...


"Graham Y" wrote in message
...
Anyone any idea why when I press tab key I get a tab in the text box?
TabKeyBehavior = False
If I Alt Tab twice (out of XL & back again) it starts working properly!





All times are GMT +1. The time now is 10:03 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com