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