P
Pugh
Hi,
I am using Word 2003 to develop a global template (.dot) file.
This global template restricts menus and toolbars to a certain set of
desired menus and toolbars and protects the document so users can't modify
Styles.
Users can only use the styles available in this template.
The global template is added as an Add In to the document and Normal.dot is
the attached template.
The global template relies on Normal.dot being present to ensure a known
starting point can be achieved before the restrictions are applied by the
global template.
When we open a word document, which has been enabled for this global
template, the document itself has a macro in its Document_Open method which
unloads all other templates and add ins, and then loads the global template.
The global template has an AutoExec function which in turn applies the
desired restrictions when the document is opened.
Our problem is that Many of our users are using Outlook 2003 with Word 2003
as their email editor.
According to Knowledgebase article 209978 -
http://support.microsoft.com/default.aspx/kb/209978, when you use Word as
your email editor in Outlook, the AutoExec macro does not run.
This means that if a user opens Outlook before they open their Word
documents, (which most users do), the global template which is supposed to
apply restrictions to the document does not work because its AutoExec macro
does not run.
A second problem is that Outlook uses a different attached template,
(email.dot) when it uses Word as it email editor and that alters up our
document's list of available styles, so our template's style restrictions are
affected.
Is there a way to get around these issues when using Word as your email
editor in Outlook?
Can we somehow make our AutoExec macro run when we open a Word document
which is setup to use our global template?
thanks
pugh.3
I am using Word 2003 to develop a global template (.dot) file.
This global template restricts menus and toolbars to a certain set of
desired menus and toolbars and protects the document so users can't modify
Styles.
Users can only use the styles available in this template.
The global template is added as an Add In to the document and Normal.dot is
the attached template.
The global template relies on Normal.dot being present to ensure a known
starting point can be achieved before the restrictions are applied by the
global template.
When we open a word document, which has been enabled for this global
template, the document itself has a macro in its Document_Open method which
unloads all other templates and add ins, and then loads the global template.
The global template has an AutoExec function which in turn applies the
desired restrictions when the document is opened.
Our problem is that Many of our users are using Outlook 2003 with Word 2003
as their email editor.
According to Knowledgebase article 209978 -
http://support.microsoft.com/default.aspx/kb/209978, when you use Word as
your email editor in Outlook, the AutoExec macro does not run.
This means that if a user opens Outlook before they open their Word
documents, (which most users do), the global template which is supposed to
apply restrictions to the document does not work because its AutoExec macro
does not run.
A second problem is that Outlook uses a different attached template,
(email.dot) when it uses Word as it email editor and that alters up our
document's list of available styles, so our template's style restrictions are
affected.
Is there a way to get around these issues when using Word as your email
editor in Outlook?
Can we somehow make our AutoExec macro run when we open a Word document
which is setup to use our global template?
thanks
pugh.3