J
jarod1701
Hi everyone,
I have a huge problem with a bunch of Word documents. They're all based
on a template which does no longer exist. Due to this it takes Word
about half a minute to open one of them. I need to remove this link
from the files.
I know I can programmatically change the linked template back to
normal.dot with AttachedTemplate but the problem is that I would have
to open every single document using the Documents.Open method which
again takes Word quite some time as mentioned above.
As I'm a novice to VBA I wonder if there is any way to tell Word's COM
object not to look for the non-existing template.
I've already tried using Microsoft's dsofile.dll but it seems like it's
not capable of WRITING the template-attribute.
The only solution I can see right now is to disable LAN access on my
machine while converting the files which I don't consider to be a
proper solution for the problem ;-)
Hope anyone of you can help me with this.
Thanks in advance.
I have a huge problem with a bunch of Word documents. They're all based
on a template which does no longer exist. Due to this it takes Word
about half a minute to open one of them. I need to remove this link
from the files.
I know I can programmatically change the linked template back to
normal.dot with AttachedTemplate but the problem is that I would have
to open every single document using the Documents.Open method which
again takes Word quite some time as mentioned above.
As I'm a novice to VBA I wonder if there is any way to tell Word's COM
object not to look for the non-existing template.
I've already tried using Microsoft's dsofile.dll but it seems like it's
not capable of WRITING the template-attribute.
The only solution I can see right now is to disable LAN access on my
machine while converting the files which I don't consider to be a
proper solution for the problem ;-)
Hope anyone of you can help me with this.
Thanks in advance.