Colorized Macro Printing
-
I discovered something I thought I'd mention in case it's useful for someone.
I had been downloading a macro, then opening it in MS word, and going through and using styles to color code syntax manually. Not a huge big deal for most macros, and it made it more readable. But if you try to print in the web control, you only get the visible code. If the macro is longer than will fit, you'll get multiple pages of the same portion of the code!
Then it occurred to me to go into the macro in the Web Control editor, do Ctrl-A to highlight the whole macro, Ctrl-C, then paste it into a new Word document, in the hopes of carrying the HTML formatting through the clipboard. Well, it worked, and the added advantage is it will be the same color coding as used in the web control. I haven't tried it in dark mode, and I suspect it wouldn't be so good. But it sure is easier than manually formatting.
I hope this is helpful.
-
I might suggest trying a text editor with syntax highlighting rather than word. Something like Notepad++ or SublimeText. I wouldn't trust Word to not mangle a plaintext file.
-
@Phaedrux I'm only using Word to print.