Look for a running Word instance and return its handle.
NULL is returned if nothing's found.
a handle (pointer) to the running Word, resp. Excel instance.
Closing an instance does not update the value of the pointer. So it may contain an invalid address.
Whether the pointer is still valid can be checked by
Andri Signorell <email@example.com>
1 2 3 4 5 6 7 8 9 10 11 12 13
Loading required namespace: RDCOMClient Failed with error: ‘there is no package called ‘RDCOMClient’’ Warning message: In GetCOMAppHandle("Word.Application", option = "lastWord", existing = TRUE) : RDCOMClient is unfortunately not available for Linux systems (Windows-only).  "GetCurrWrd: no running word instance found..."
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.