Home » Questions » Computers [ Ask a new question ]

How do I add formatted code to a Microsoft Word document?

How do I add formatted code to a Microsoft Word document?

I need to write a document in MS-Word 2007 that contains a lot of examples of VB.NET and C# code.

Asked by: Guest | Views: 314
Total answers/comments: 1
bert [Entry]

"I like to use Notepad++. In NP++, choose the right syntax, right click on the selected code, choose ""plugin commands"", click ""copy text with syntax highlighting"". Paste it in Word and you have very good looking code.

Source: Best way to show code snippets in word? [closed]"