If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Excel > desperate help on focus

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-21-07, 12:12
ottomatic ottomatic is offline
Registered User
 
Join Date: Sep 2003
Posts: 228
Red face desperate help on focus

I have a combobox that is used is used to choose a test case. The user can use the mouse to select from a list or type in a number from the list. If the form loses focus while the cursor is in that combo box, upon return the user is now only able to select with the mouse, the keyboard has no effect on the combo box UNTIL the control loses focus and then regains it.

Any ideas?
I can't find any "focus" events for the form in excel vba...
Reply With Quote
  #2 (permalink)  
Old 02-22-07, 03:53
michaeldavid michaeldavid is offline
Registered User
 
Join Date: Dec 2004
Posts: 35
Focus

Hi,
Look in help for 'Setfocus' this should give you the info you need.
Reply With Quote
  #3 (permalink)  
Old 02-27-07, 16:18
ottomatic ottomatic is offline
Registered User
 
Join Date: Sep 2003
Posts: 228
it appears that with excel vba setfocus only applies to controls on a form and not the form itself.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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