Attaching NormalTemplate fails

E

Eric

I’m having an issue with attachment of Normal.dotm in our environment.
Here is the code, which is part of a document creating event procedure in a
template named TheTemplate.dotm:
Private Sub Document_New()
With Application.ActiveDocument
.UpdateStylesOnOpen = False
.AttachedTemplate = Application.NormalTemplate
End With
End Sub
It works if Normal.dotm is located on a local drive: Normal.dotm is actually
attached to each document created from TheTemplate.dotm. But if Normal.dotm
is located on a network drive, the attachment fails (the event procedure
aborts with error number 4198), while the same VBA code works with the
Normal.dot and Word 2000, XP or 2003!
In our environment, each employee has his own %homeshare% location
(represented with H:) on a network drive where the Normal.dotm is placed.
This H: drive follows the client so she/he can logon to any PC and get
her/his own Normal.dotm. We would like to keep this feature.
Is there a workaround to this issue?
Regards,
Eric
 
A

Alex Arias

Hi, I am wondering if you solved this problem, I have exactly the same problem and I can't figure out how to fix it.

Any other users with any ideas to fix this please.

Any help will be welcome.

Alex
 

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