Hi everyone,
I have a template that imports the entire content from another Word Template with the line:
Selection.InsertFile strFileName
This code runs on different users' machines, and the variable strFileName contains the names of various Word Templates.
Some of the users complain that this code imports the main document properly, but fails to import the headers. Some other users tell me that on they find headers getting imported properly.
It works correctly on my machine. When I tried importing from the same template-file on another user's machine, it failed to import the headers.
I am puzzled. Is it influenced by the settings on the machine?
Any advice/pointers?
TIA,
Sheila
I have a template that imports the entire content from another Word Template with the line:
Selection.InsertFile strFileName
This code runs on different users' machines, and the variable strFileName contains the names of various Word Templates.
Some of the users complain that this code imports the main document properly, but fails to import the headers. Some other users tell me that on they find headers getting imported properly.
It works correctly on my machine. When I tried importing from the same template-file on another user's machine, it failed to import the headers.
I am puzzled. Is it influenced by the settings on the machine?
Any advice/pointers?
TIA,
Sheila