On Macro Naming Conventions

Let’s suppose you needed a macro for Microsoft Word that went through a document, found everything that was colored red, and turned it black.

What would you name such a macro? A sensible person might called it “RedToBlack.”

A less sensible, more poetic soul might call it “PaintItBlack.”

Said less sensible, more poetic soul might also have a message box pop up as the macro begins. Said message box might display the message: “I see a red door and I want it painted black.”

Said less sensible, more poetic sould might then have a message box open when the macro is finished. Said message box might display this message: “No colors anymore, I want them to turn black.”

Because, of course, sometimes even lowly macro writers just need to have fun. 😉

Leave a Reply

Your email address will not be published. Required fields are marked *