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 / January 2006

Tip: Looking for answers? Try searching our database.

userform.hide caused a los of focus in vba word

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Marco - 09 Jan 2006 22:20 GMT
can anyone help me ?
I make a new document out of a template with VBA code and after closing
(hide or unload) the userform the focus is going to the first windows that's
in word. if i have a document open for example document5 and i create a new
one with the tamplate, after closing te userform the word give te focus to
document1 or 2. The user must now activate te window before starting with te
document. I trayed to set te focus by using documents.(index).activate but i
did not work.

sorry for the bad Englisch
greatings Marco
Doug Robbins - Word MVP - 10 Jan 2006 05:29 GMT
See the article "Making a UserForm show above a newly created Word 2000+
document" at:

http://www.word.mvps.org/FAQs/Userforms/KeepUserFmAboveDoc.htm

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

> can anyone help me ?
> I make a new document out of a template with VBA code and after closing
[quoted text clipped - 11 lines]
> sorry for the bad Englisch
> greatings Marco
 
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.