Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default SetFocus testing

I rely on .SetFocus to fire _Enter modules. This works well until the
control already has focus. Is there a way to test to see if a control
has focus in VBA?

Thanks,
-Tim

  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 703
Default SetFocus testing

TextBox1_GotFocus

"Tim" wrote:

I rely on .SetFocus to fire _Enter modules. This works well until the
control already has focus. Is there a way to test to see if a control
has focus in VBA?

Thanks,
-Tim


  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default SetFocus testing

I don't belive VBA can access the _GotFocus property, although I know
VB is able to. I am unable to reply to DevDex or read it in my mail
since I am restricted to Google Groups for my usenet facility. For
this reason, I must post to Google Groups.

  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 28
Default SetFocus testing

I don't belive VBA can access the _GotFocus property, although I know
VB is able to. I am unable to reply to DevDex or read it in my mail
since I am restricted to Google Groups for my usenet facility. For
this reason, I must post to Google Groups.

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
MSG BOX PREVENTS setfocus HELP helpless in iowa Excel Programming 6 January 18th 05 12:30 PM
setfocus Dean Reardon Excel Programming 2 December 15th 04 12:18 PM
How Do I Get SetFocus To Work??? Minitman[_4_] Excel Programming 3 November 13th 04 09:18 PM
setfocus after a msgbox simpleMod[_3_] Excel Programming 1 October 26th 04 07:25 PM
setfocus after a msgbox simpleMod[_2_] Excel Programming 1 October 26th 04 05:25 PM


All times are GMT +1. The time now is 04:12 PM.

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

About Us

"It's about Microsoft Excel"