Write data to Word Document

COM document;
COM wordDocument;
COM range;
COM app;
;
app = new COM("Word.Application");
app.visible(true);
document = app.Documents();
wordDocument = document.add();
wordDocument.activate();
range = wordDocument.range();
range.insertBefore("Data written from AX .");

Comments

Popular posts from this blog

Running runnable class through URL in Dynamics 365 for Operations

D365FO Use of FileUpload control to Read CSV file

D365FO Send Report as email attachment