How can I transfer code from a Mathematica notebook to a Microsoft Word document in a way that all formatting I see in the notebook is preserved?
I want to preserve the font, the indentation and the syntax colouring.
I am using Mathematica on Windows.