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

Tip: Looking for answers? Try searching our database.

Get rid of user form in new document

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Diana Morrison - 26 Sep 2006 18:45 GMT
I have a Word .dot Template that collects header / footer info and puts it
into a document using a UserForm.  Then each GM fills out the report.  They
click a macro button at the end which changes the font, password protects and
saves the document to a certain file.  All is well, so far (thanks Jay
Freedman!).  Problem is, when the President opens each newly created .doc
document to review the reports, the UserForm appears.  How do I get rid of it?
Thanks,
Diana Morrison
Jean-Guy Marcil - 27 Sep 2006 01:13 GMT
Diana Morrison was telling us:
Diana Morrison nous racontait que :

> I have a Word .dot Template that collects header / footer info and
> puts it into a document using a UserForm.  Then each GM fills out the
[quoted text clipped - 4 lines]
> UserForm appears.  How do I get rid of it? Thanks,
> Diana Morrison

You probably have code in a Document_Open sub (or AutoOpen) while it seems
you only need the code in the Document_New sub (Or AutoNew).
Could that be the case?

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.