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

Tip: Looking for answers? Try searching our database.

What could be wrong?  I am getting frustrated on this!

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Jeffery B Paarsa - 25 Aug 2006 20:05 GMT
I have created two separate Word Template *.dot.  One of them when I double
click on the template for a New Document it displays the UserForm1 the other
for the same action does not display the UserForm1.  Looking at both on the
Project Explorer window in VBA I see "NewMacros" for both, I see
"ThisDocument" for both and I see "UserForm1" for both but for the template
that user form does not pop up for a new document, I see a new Object that I
don't see for the other and it is called "Reference to Normal".  I can not
Remove it... What it is this "Reference to Normal".  Both of these template
have AutoNew Macro with UserForm1.show inside of them but I don't know what
went wrong at the creation of this new template that does not work... The
only thing I did I just copied an old template without Macro and renamed it
and added the controls and Macro to it... What could this be the cause no
UserForm1 display?  
Signature

Jeff B Paarsa

Jean-Guy Marcil - 25 Aug 2006 22:32 GMT
Jeffery B Paarsa was telling us:
Jeffery B Paarsa nous racontait que :

> I have created two separate Word Template *.dot.  One of them when I
> double click on the template for a New Document it displays the
[quoted text clipped - 4 lines]
> up for a new document, I see a new Object that I don't see for the
> other and it is called "Reference to Normal".  I can not Remove it...

Right there!
If you see this it means it is not a real *.dot.
Copying a *.doc and changing the name to "something.dot" does not make it a
template, as you have just discovered.

You have to create a real template (Save As) and then import the stuff from
the *.doc file.

> What it is this "Reference to Normal".  Both of these template have
> AutoNew Macro with UserForm1.show inside of them but I don't know
> what went wrong at the creation of this new template that does not
> work... The only thing I did I just copied an old template without
> Macro and renamed it and added the controls and Macro to it... What
> could this be the cause no UserForm1 display?

Signature

Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
jmarcilREMOVE@CAPSsympatico.caTHISTOO
Word MVP site: http://www.word.mvps.org


Rate this thread:






 
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.