L
Lupe
I have a template that uses Documents.Add to create a new document based on a template. The VBA code in Word (Office 97/Windows 98) runs perfectly; however it gives me an error message when I run it in Word XP (Office XP/Windows XP). The error message I get is "Word failed reading from the file (my file name). Please restore the network connection or replace the floppy disk and retry." The code runs just fine in Office 97 (Windows98). Here is the VBA line that causes the error: Documents.Add Template:=sPath & "CBC1129B_Letter.dot
The template file has hidden and read-only attributes set on it so it will not be seen/used by a user because it should only be used programatically from other templates. Has anyone experienced this or have a clue why it doesn't work in Office XP/Windows XP?
The template file has hidden and read-only attributes set on it so it will not be seen/used by a user because it should only be used programatically from other templates. Has anyone experienced this or have a clue why it doesn't work in Office XP/Windows XP?