Home |
Search |
Today's Posts |
|
#1
|
|||
|
|||
user forms in templates
Hello. I have created a User Form which is supposed to run when the user
opens the document. It worked perfectly when the document was in *.doc format, the user could open the document any way and the User Form would open. I saved the document as a *.dot and now if you goto New Templates Minute, it opens the template up as a new document (which it is supposed to do), but no User From is displayed. If you were to open the Template as if you were going to edit it, all work properly. Does anyone know a solution to this? Thank you in anticipation. Matt |
#2
|
|||
|
|||
You might want to try posting in the microsoft.public.word.vba.userforms NG
instead of here. This is an end user NG. -- Suzanne S. Barnhill Microsoft MVP (Word) Words into Type Fairhope, Alabama USA Word MVP FAQ site: http://word.mvps.org Email cannot be acknowledged; please post all follow-ups to the newsgroup so all may benefit. "Matt" wrote in message news Hello. I have created a User Form which is supposed to run when the user opens the document. It worked perfectly when the document was in *.doc format, the user could open the document any way and the User Form would open. I saved the document as a *.dot and now if you goto New Templates Minute, it opens the template up as a new document (which it is supposed to do), but no User From is displayed. If you were to open the Template as if you were going to edit it, all work properly. Does anyone know a solution to this? Thank you in anticipation. Matt |
#3
|
|||
|
|||
Yes...move your UserForm.Show call from the ThisDocument_Open even to
the ThisDocument_New event. Dian D. Chapman, Technical Consultant Microsoft MVP, MOS Certified Editor/TechTrax Ezine Free MS Tutorials: http://www.mousetrax.com/techtrax Free Word eBook: http://www.mousetrax.com/books.html Optimize your business docs: http://www.mousetrax.com/consulting Learn VBA the easy way: http://www.mousetrax.com/techcourses.html On Wed, 23 Feb 2005 14:43:02 -0800, "Matt" wrote: Hello. I have created a User Form which is supposed to run when the user opens the document. It worked perfectly when the document was in *.doc format, the user could open the document any way and the User Form would open. I saved the document as a *.dot and now if you goto New Templates Minute, it opens the template up as a new document (which it is supposed to do), but no User From is displayed. If you were to open the Template as if you were going to edit it, all work properly. Does anyone know a solution to this? Thank you in anticipation. Matt |
Reply |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Disappearing Checkboxes in Forms | Microsoft Word Help | |||
Problem with word templates | Microsoft Word Help | |||
Can you add a new field to the User Information catagory? | New Users | |||
Templates in too many languages. Only need English. | Microsoft Word Help | |||
Word Forms and/or Templates | Microsoft Word Help |