Macro Syntax Coloring macro(s)
Macro Syntax Coloring macro(s)
Since I was asked about this, I'm posting here the macros that I use for syntax coloring in my macros. They require the use of appropriately named styles in the document.
- Attachments
-
- Macro Syntax Coloring.zip
- (7.32 KiB) Downloaded 737 times
philip
Re: Macro Syntax Coloring macro(s)
Actually, I should put an important warning here.
This macro somewhat crudely obliterates prior formatting in the file. This will be a serious problem if your macro uses formatted text strings or attribute sensitive Find and Replace. So please use it responsibly
This macro somewhat crudely obliterates prior formatting in the file. This will be a serious problem if your macro uses formatted text strings or attribute sensitive Find and Replace. So please use it responsibly

philip