Hi Jamesliang,
By writing the following code we can open the word document based on the value selected by the user in the drop down list box.
The steps that you need to follow for getting the word document opened are:
· Right click the drop down list box , based on which the word document needs to be opened and select Programming option.
· In Programming, select “On After Change Event”.
In On After change function of a drop down list box, please write the following code:
if (eventObj.IsUndoRedo || eventObj.Operation == "Insert"){ return;}var wordApp = new ActiveXObject("Word.Application");wordApp.Documents.Open(eventObj.Site.text);
wordApp.Visible = true;