Hi everyone,

I'm a newbie to VBA and I'm not entirely sure if this can be done. We use S/MIME for our encryption at my office and Outlook, when composing a new email, doesn't really have a good visual indication of whether or not the message is encrypted.

I'd like to have the 'Encrypt Message' button change the background of the email message to grey (or something similar) when the button is clicked, to indicate the message is encrypted. If the 'Encrypt Message' button is clicked again, I'd like to have the background return to the normal color. Part of my trouble is that I have people who use Word as their editor and some that don't; if possible, I'd like to have the solution work for all users - though I can force all users one way or the other if I can get this working.

I've seen on the MS KnowledgeBase (http://support.microsoft.com/?kbid=279013) that you can pull the status of the button with CommandBar, but I have no idea how to actually utilize this to do what I need.

Can anyone point me in the right direction?