FWIW, I have a paragraph Style named 'Macro' that I've defined for macro code. Basically, it uses a blue Courier-New font. Then, by replacing all the paragraph breaks you get when pasting macros into Word with line breaks, each macro remains a single paragraph. That makes it easier for copying & pasting back into the VBE. Graham's macro could be modified to do something similar and to apply a Style other than 'Normal'.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
|