Too often, the question is 'how to I get SAS to do XYZ?'. That implies a PUSH operation from SAS. turn the question on its head and ask how do I get my data, from SAS processing, into Word using a PULL operation. Execute and pull SAS from Word using a variety of techniques. I often execute SAS programs and retrieve the data w/o using anything more than SAS via Integration Technologies.
So, how do you do a PULL operation? Look at articles by Chris Hemendinger on VBA or C# doing it. Use Examples from Excel as well since they are very similar. i also have a complete example on gihub. (see: savian-net/ExcelSasDemo (github.com)) for Excel. If you will be using Word, just use the COM dll for Word.
A PULL operation takes a bit of time to get used to but it is, by far, the most powerful way to use SAS and Microsoft products together. Every feature of Microsoft is available as well as SAS. A PUSH operation does not have that advantage.
... View more