Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Pressing TAB doesn't exit TextBox

Hi,

I have a modal userform in Excel 2003 with a number of textboxes on it.

Sometimes entering data and pressing TAB moves me to the next textbox and
sometimes it just inserts a tab into the current textbox and I have to click
the mouse in the next textbox to get there.

This seems to be random?

Any ideas - anyone seen this before?

Thanks,

Brian
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 112
Default Pressing TAB doesn't exit TextBox

Hello Brian
Set TabIndex property to your textboxes accordingly, starting from 0 for
textbox #1 and so on.
This should correct your issue.

HTH
Cordially
Pascal
"Deskman" a écrit dans le message de
news: ...
Hi,

I have a modal userform in Excel 2003 with a number of textboxes on it.

Sometimes entering data and pressing TAB moves me to the next textbox and
sometimes it just inserts a tab into the current textbox and I have to
click
the mouse in the next textbox to get there.

This seems to be random?

Any ideas - anyone seen this before?

Thanks,

Brian



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Pressing TAB doesn't exit TextBox

BTW, the TabKeyBehaviour Property is correctly set to FALSE.

Thanks.


"Deskman" wrote:

Hi,

I have a modal userform in Excel 2003 with a number of textboxes on it.

Sometimes entering data and pressing TAB moves me to the next textbox and
sometimes it just inserts a tab into the current textbox and I have to click
the mouse in the next textbox to get there.

This seems to be random?

Any ideas - anyone seen this before?

Thanks,

Brian

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 4
Default Pressing TAB doesn't exit TextBox

Hi Pascal,

Thanks, but that is not the issue - pressing Tab inserts a Tab into the text
of the texbox instead of moving to the next Box - yet some times with the
same textbox it will function correctly!

Regards,

Brian

"Deskman" wrote:

Hi,

I have a modal userform in Excel 2003 with a number of textboxes on it.

Sometimes entering data and pressing TAB moves me to the next textbox and
sometimes it just inserts a tab into the current textbox and I have to click
the mouse in the next textbox to get there.

This seems to be random?

Any ideas - anyone seen this before?

Thanks,

Brian

Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Private Textbox Exit Sub question... [email protected] Excel Worksheet Functions 14 March 1st 07 03:58 AM
Delete textbox after exit [email protected] Excel Programming 5 February 12th 07 10:43 AM
Urgent - how to run textbox exit sub? [email protected] Excel Programming 4 October 12th 06 01:43 PM
Format textbox on exit Michael Malinsky[_2_] Excel Programming 4 March 18th 05 07:53 PM
How To Get An Event To Run When I Exit A TextBox Minitman[_4_] Excel Programming 7 October 22nd 04 11:27 PM


All times are GMT +1. The time now is 05:01 PM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"