B
buttie
Hello,
I have a macro in a dot file that runs when I open a document with that
network template (g:\wmv\r6.dot) attached. The dot file is on a network and
I want to copy it local so the network template isn't locked when a user has
a doc open with that template attached, so it can be changed. It works fine
and the local template is attached. But the network template keeps locked
with a tilde (~) before it so the doc keeps two templates locked, the local
(as expected) and the network template. Is there a way to release the "
ghost" attached network template?
Below a example of the code:
Sub AutoOpen()
WordBasic.CopyFileA FileName:="G:\WMV\r6.dot",Directory:="c:\temp\r6.dot"
ActiveDocument.AttachedTemplate = "c:\temp\r6.dot"
End Sub
Thanks a lot
I have a macro in a dot file that runs when I open a document with that
network template (g:\wmv\r6.dot) attached. The dot file is on a network and
I want to copy it local so the network template isn't locked when a user has
a doc open with that template attached, so it can be changed. It works fine
and the local template is attached. But the network template keeps locked
with a tilde (~) before it so the doc keeps two templates locked, the local
(as expected) and the network template. Is there a way to release the "
ghost" attached network template?
Below a example of the code:
Sub AutoOpen()
WordBasic.CopyFileA FileName:="G:\WMV\r6.dot",Directory:="c:\temp\r6.dot"
ActiveDocument.AttachedTemplate = "c:\temp\r6.dot"
End Sub
Thanks a lot