Click here to Skip to main content
14,865,438 members
Please Sign up or sign in to vote.
2.00/5 (1 vote)
I'd like to know if, and then how, to embed HTML and javascript into a Word 2010 document so as to for instance change a font depending on contents of an external file. The HTML and javascript of course will not show in the word document, thll just be lurking and will run when the document is opened or when some item in the document is clicked, say.

Anybody?
Posted
Updated 5-Nov-19 20:29pm

1 solution

You may embed HTML in word using PHPDocX but that would strip al the javascript.
   

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900