Computer code in Technical report

Soldato
Joined
25 Aug 2006
Posts
6,398
Anyone know how to add computer code to a Word doc whilst still retaining the spacing, the colour coding etc

Similar to the example below where the user has added the code and their own comments in green.

2H0pc3t.png

When I copy and paste, my code is all black. Googling tells me to "insert object" into Word - same result. Screenshot is clumsy...........

Any ideas?
 
Back
Top Bottom