![]() ![]() The best plan includes using a version of Word similar to the version the legacy apps were designed with/to. I have an application that converts a text file to a Word document for backwards compatibility with some legacy apps. Working or not on your computer is that it is a function of the latest update you get from Microsoft. My observation on the situation of the command 'Set wordAppxxxx = CreateObject("")' This may further explain why the code works some times and not others. Then the version registered opens but then I can't open open the non-registered.Ĭan anyone help and show me how to open a specific version of Word within Excel using VBA? "C:\Program Files\Microsoft Office\Office14\WINWORD.EXE" /regserver "C:\Program Files\Microsoft Office\Office12\WINWORD.EXE" /regserver I've also tried early binding by using Dim wordApp As Word.ApplicationĪnd setting references to the Word 12.0 object model but this still opens Word 2010 Set wordApp2010 = CreateObject("Word.Application.14") Set wordApp2007 = CreateObject("Word.Application.12") I've tried late binding Dim wordApp2007 As Object I need to open Word from within Excel but I need to specify which version I need to open within VBA.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |