Could not change document template msg

J

JoAnn

I'm using Word 2000 with XP. Lately, I've been getting the "could not
change document template message" whenever I try to attach a template
I created to a document. I've tried recreating normal.dot, detect & repair
as well as
removing/reinstalling WORD to fix the problem -- all with no success. The
macro security setting is set to Medium.

It happens with all of my customized templates & has only been happening
recently & only on this PC. Anyone have any idea why or what I can do to fix
the problem?

I tried posting this to the Applications Errors section but have had no
responses and really need a solution or workaround. Hopefully someone in this
group will have seen this issue before.

Thanks,
 
L

Liakamai

I'm using Word 2000 with XP. Lately, I've been getting the "could not
change document template message" whenever I try to attach a template
I created to a document. I've tried recreating normal.dot, detect & repair
as well as
removing/reinstalling WORD to fix the problem -- all with no success. The
macro security setting is set to Medium.

It happens with all of my customized templates & has only been happening
recently & only on this PC. Anyone have any idea why or what I can do to fix
the problem?

I tried posting this to the Applications Errors section but have had no
responses and really need a solution or workaround. Hopefully someone in this
group will have seen this issue before.

Thanks,

I'm having the same issues. My macro setting is also set to medium.
The message occurs here

Private Sub Document_Open()
ActiveDocument.AttachedTemplate = "C:\Documents and Settings
\liakamai\Desktop\AFolder\ThisTemplateIWantToAttach.dot"
Call MyTemplate.mdlAJHACode.ThatCode
End Sub
 
L

Liakamai

I'm having the same issues. My macro setting is also set to medium.
The message occurs here

Private Sub Document_Open()
On Error Resume Next ' Added this line here and it seems to work. Not
sure this is the ultimate solution.
    ActiveDocument.AttachedTemplate = "C:\Documents and Settings
\liakamai\Desktop\AFolder\ThisTemplateIWantToAttach.dot"
    Call MyTemplate.mdlAJHACode.ThatCode
End Sub- Hide quoted text -

- Show quoted text -

I added "On Error Resume Next" above and my code seems to work. I'm
sure there is a better way. Anyone have a better solution?
 

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