Reply
 
Thread Tools Display Modes
  #1   Report Post  
Matt
 
Posts: n/a
Default 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   Report Post  
Suzanne S. Barnhill
 
Posts: n/a
Default

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   Report Post  
Dian D. Chapman, MVP
 
Posts: n/a
Default

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

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Disappearing Checkboxes in Forms Jeannette S. Microsoft Word Help 0 February 15th 05 08:25 PM
Problem with word templates Luis Estevens Microsoft Word Help 3 January 27th 05 02:10 PM
Can you add a new field to the User Information catagory? prirod New Users 4 December 23rd 04 10:02 PM
Templates in too many languages. Only need English. capt_dalton Microsoft Word Help 0 December 2nd 04 10:29 PM
Word Forms and/or Templates FSI-Liz Microsoft Word Help 1 November 26th 04 10:18 PM


All times are GMT +1. The time now is 11:14 PM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"