Automation: GETOBJECT in Navision

What would the following VBA code look like in Navision: Set wrd = GetObject(, “Word.Application”)[?][?] The aim is to open WORD from within Navision.

CREATE(wdApplication); Where wdApplication is a Variable of DataType Automation and Subtype ‘Microsoft Word x.x Object Library’.Application. Do a search on the Forum for “word automation” and you will find quite a lot. Also read the “Application Designer’s Guide” (w1w1adg.pdf). There is a chapter named “16.3 Using C/SIDE as an Automation Controller”, all the basics are there and it will help you get started with Word Automation.