Is it possible to create buttons inside a word document that can run JavaScript code? somewhat similar to running VBA code like:
Private Sub CommandButton1_Click()
MsgBox "hello world"
End Sub
I want to make a button that will still work after the document is exported as a PDF. Like in this tutorial: http://www.lystech.com/webhelp/Content/calculate-in-pdf/ They are using CenoPDF, but I was hoping to find another way to do this on my own. I tried reading about Office JavaScript API, but couldn't find something relevant.
question from:https://stackoverflow.com/questions/65599125/making-microsoft-word-buttons-inside-document-that-can-run-javascript