Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Word / Programming / February 2007

Tip: Looking for answers? Try searching our database.

Userform Problem

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
klav - 06 Feb 2007 16:13 GMT
This is probably a very simple task but I cannot seem to get it to work.

I am displaying a userform and when one of the radio buttons is selected, I
am opening a Word document, searching for something and then closing that
document. At that point, the form is still displayed but in order to activate
it, the user must click on it. What code do I need to use in order for the
userform to automatically be activated?
Doug Robbins - Word MVP - 06 Feb 2007 19:43 GMT
Have you tried using SetFocus to set the focus to a control on the form.

Signature

Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

> This is probably a very simple task but I cannot seem to get it to work.
>
[quoted text clipped - 5 lines]
> it, the user must click on it. What code do I need to use in order for the
> userform to automatically be activated?
klav - 06 Feb 2007 20:01 GMT
Yes, I have tried that but it doesn't make the userform "active" -- the user
must still click somewhere in the form.

> Have you tried using SetFocus to set the focus to a control on the form.
>
[quoted text clipped - 7 lines]
> > it, the user must click on it. What code do I need to use in order for the
> > userform to automatically be activated?
Tony Jollans - 06 Feb 2007 22:30 GMT
If the userform doesn't have the focus when you have finished, what does?

Signature

Enjoy,
Tony

> This is probably a very simple task but I cannot seem to get it to work.
>
[quoted text clipped - 5 lines]
> it, the user must click on it. What code do I need to use in order for the
> userform to automatically be activated?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.