Nevermind! Something happened to word on this computer (not sure what...). I re-installed word and it seems to be working now!
>I have created a word template document as a report in which I replace many variables.
>
>
>HomeDir = SYS(5) + SYS(2003)
>lcDir1 = HomeDir+"\rpts"
>lcFile = "l_i_ssn.dot"
>mypath = lcDir1 + "\" + lcFile
>oWord = CreateObject("Word.Application")
>oDoc = oWord.Documents.Open(mypath)
>
>
>The last line is giving me a "Member DOCUMENTS does not evaluate to an object" error. I haven't had this happen before and can't seem to figure out why or what this means. Do I have a typo? Have I forgotten something? Any help appreciated!
>Thanks,
>Kevin