Hi,
I was just wondering if there was any way to export the code I've written in Visual Studio to MS Word, by preserving all formatting. Since copy-paste doesn't keep the formatting, I need a way to transfer my original code to Word while keeping the formatting. And, yes, it would be a very nice option to include the line numbers or not.
Thank you,

Recommended Answers

All 2 Replies

Which version of MS Wrod do you have. In version 2007, it saves the formatting
and the colors. Perhaps, try copy/pasting it on a text file. And then export it on
M.S word.

If you can wait I'm on the verge of finishing my SyntaX Highlighter which features WORD 03 portability. I'll be upping it maybe tomorrow.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.