If you only have 1 form then you can do it at the top of that form... if you have more than one then you have to do it in a Module (Go to add to your VB project but select Module instead of Form)

Code:
Global CommandColor as String