All Forums >> [Scripting] >> WSH & Client Side VBScript >> Accessing Document Template field of MSWORD Do you like VisualBasicScript.com? Link to us and help spread the word about our forum. Thanks!
Well, first off ... lets figure out what your trying to do. Is there any reason why you just dont replace the template file rather than changing the path? Usualy that would be the easyest method of changing the default template. Just make sure to backup the original.
The document template path points back to a share on a server which no longer exists. Since this field is stored on a document by document basis it is causing problems for me.
I can see the path if I open the .doc file with a hex editor. However,I am reluctant to change this field in the file by using an ad hoc replacement with my desired path, in fear that it may leave the file in an inconsistent state which could cause future unseen problems.