Ureader.com  
Microsoft software help and Community
   home   |   control panel login   |   archive   |  
 
Word
application.errors
conversions
docmanagement
drawing.graphics
formatting.longdocs
international
internet.assistant
mail
mailmerge.fields
menustoolbars
newusers
numbering
oleinterop
pagelayout
printingfonts
setup.networking
spelling.grammar
tables
vba.addins
vba.beginners
vba.customization
vba.general
vba.userforms
web.authoring
word6-7macros
word97vba
  
 
date: Mon, 14 Mar 2005 11:52:21 -0500,    group: microsoft.public.word.word6-7macros        back       


How to catch focus changes in VBA forms in word macros   
I've a UserFrom with TextBoxes that I launch from some word macro code.  I 
can't seem go detect gain or loss of focus from them.  I can get change 
events but they're not the the appropriate event on which to do validation.

Looking at Micrsoft's support site and various news groups it appears I 
should be able to use 'myObject_LostFocus()' but it doesn't work.  Also the 
Object Browser does not show focus events for a textbox.

Is there something odd about VBA or working through Word?  Can anybody tell 
me what I'm missing?

I thank you in advance of your helpful advice.

Thanks,

Jim Cant
date: Mon, 14 Mar 2005 11:52:21 -0500   author:   news.rcn.com

Google
 
Web ureader.com


    COPYRIGHT 2007, YARDI TECHNOLOGY LIMITED, ALL RIGHT RESERVE  |   contact us