Writes a string to MS Word using ActiveX
Optional. A string to insert into the Word document.
Nothing. Starts MS Word and inserts the string.
msword("This is some text.")
DADiSP starts MS Word and inserts the string
This is some text.
into the new document.
MSWORD is a simple example of how to invoke an external application (MS Word) as an ActiveX server using SPL.
SPL uses an ActiveX syntax similar to C/C++ and Visual Basic.
Here are the pertinent SPL statements:
See MSWORD2 for an example of copying an entire Worksheet.