~Sean EljumigonApr 27, 2015, 10:10 PM326 PostsWonderingis the domino server 32 ot 64 bit ? Is the Word 2013 32 or 64 bit? Did you manually run the word 2013 under the same id that the server is running under? Just trying to rule out permission issues. I looked at this link and wonder also if .net is installed? https://technet.microsoft.com/en-us/library/ee624351.aspx#section26 I also found this https://msdn.microsoft.com/en-us/library/office/ff838565.aspx Convert the code to lotusscript and see if you at least a document to open. Set wrd = GetObject(, "Word.Application") wrd.Visible = True wrd.Documents.Open "C:\My Documents\Temp.doc" Set wrd = Nothing
~Judy EktumizenyndsApr 28, 2015, 8:00 AM30 PostsThe problem is in WordYou are trying to create a .doc - word is now .docx and will whinge and pop up a window to confirm that's what you want - in a server agent, there's no way to respond to that whinge You need to create a new .docx template from scratch - you can't just save-as your existing one - and open that instead
~Autumn NimhipipuletsiApr 28, 2015, 3:59 PM2 PostsCreate new template???When you say new docx template, do you mean msWord.documents.Add("C:\temp\JasonCyr.docx") If not, what exactly are you referring to? Thanks for your response
~Sean EljumigonApr 28, 2015, 9:06 PM326 PostsTemplateLike I said run word on the server and you would see that the issue is with the template. Here is a url on how to convert the template https://support.office.com/en-ca/article/Edit-templates-b2cb7adb-aec2-429f-81fd-3d5bd33cf264
~Judy EktumizenyndsApr 29, 2015, 7:52 AM30 PostsFrom experience...I strongly suggest creating a new template, in a blank docx file Because even copying (e.g.) images from a .doc to a .docx file buggers up the file format Same problems occur with .xls and .xlsx files
~Kirk DesresterakoiJun 1, 2015, 1:40 PM8 PostsTiming issue in COM object initializationThere appears to have been a change in how Microsoft Office COM objects initialize starting with Office 2010. In previous versions once the GetObject / CreateObject call returned you could immediately start using it. In most cases adding a pause {sleep(1)} before doing anything with the object fixes this problem. Have fun. Ninke.
~Julia EkakonynivuJul 16, 2015, 11:19 AM2 PostsDid you get this resolved?We are having the same issue at our organization. Were you able to resolve this?
~Julia EkakonynivuJul 16, 2015, 11:19 AM2 PostsDid you get this resolved?We are having the same issue at our organization. Were you able to resolve this?