I have a web application in which there is two richtextfield on the form. That richtext field contains the formatted data.
I have a export button on the same form which opens that form in word by using the code:
var ecode=document.forms[0].empcode.value;
wdApp = new ActiveXObject(“Word.Application”);
wdApp.visible=true;
wdApp.Documents.Open(“http://servername/databasename/ADBTemplate?readform&empcode=”+ecode);
Now Is there any way to export the richtext field data in the word in formatted form.
Thanks