Click here to Skip to main content
11,924,280 members (67,714 online)
Rate this:
Please Sign up or sign in to 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.

Posted 19-Apr-12 16:25pm

1 solution

Rate this: bad
Please Sign up or sign in to vote.

Solution 1

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)

  Print Answers RSS
Top Experts
Last 24hrsThis month

Advertise | Privacy | Mobile
Web04 | 2.8.151125.3 | Last Updated 22 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100