View Single Post
  #1   Report Post  
Posted to microsoft.public.excel.misc
Horatio J. Bilge, Jr. Horatio J. Bilge, Jr. is offline
external usenet poster
 
Posts: 135
Default change forecolor with code

I have some labels on a userform that I set the forecolor property to
&H80000011& (Disabled Text). I want to be able to change the forecolor
between "Disabled Text" and "Button Text" (and vice versa) with code. I know
I can use RGB values, but I was hoping to use the same colors that are listed
in the properties box, so it matches other labels on the form.