Get rid of user form in new document

D

Diana Morrison

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
 
J

Jean-Guy Marcil

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
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

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?

--
Salut!
_______________________________________
Jean-Guy Marcil - Word MVP
(e-mail address removed)
Word MVP site: http://www.word.mvps.org
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top