views:

508

answers:

0

When I cut and paste code from Visual Studio 2008 into Word 2007, it includes line numbers at the start of every line. I am sure this didn't happen on my old PC, but I can't seem to find the option that would control this.

I don't want to paste as unformatted text, because I want the syntax colouring.

UPDATE: This was me being really stupid. I was pasting the code in just below a numbered list and Word decided that each line of code was a new entry in the numbered list. The numbers were in Courier so it looked like code line numbers as opposed to new entries in the list. Sorry. I guess this question should be closed.