add code in microsoft word code example
Example: microsoft word code formatting
1. Get Notepad++
2. Paste your code in the window
3. Select the programming language from the language menu
4. Select the text to copy
5. Right click and select Plugin commands -> Copy Text with Syntax Highlighting
6. In your word document, go to Insert tab, Text section, click object button
(it's on the right)
7. Choose OpenDocument Text which will open a new embedded word document
8. Copy and paste your code from Visual Studio / Eclipse inside this embedded
word page
9. save and close, voila; code with highlighting, and no spellcheck everywhere