So this is a little out the sideline, but:
Whenever I do some code in VBA, I have to document this, either to myself in OneNote or in reports in Word. However, it seems impossible to copy VBA code from the editor to anything else and preserve the formatting.
Basically I end up with this:
While I would really like as presented here with colours and indents (mostly the colours).
Are there any way to do this, or and online tool I simply cannot find? It makes reading the code in the future so much easier and elegant in reports.
I hope you can help,