Use ActiveObject to select recipient in Word (JScript, Javascript)

28 views Asked by At

how can I select an recpient in Word with the ActiveObject function in JScript or Javascript? Can I only translate the VBA code to an JScript or Javascript Code?

Here my code start fragment:

var objWord;
objWord = new ActiveXObject("Word.Application");
objWord.Visible = true;
objWord.Workbooks.Open(//file Path);    

I tested the cell function in Excel that works perfect. But are there options to select an recipient in word?

0

There are 0 answers