Change Label BackColor to default

userform, vba

Solution

If you want the label to be transparent, you need to set the `BackStyle` property like so:

'Transparent
Info_Label.BackStyle = 0

'Opaque
Info_Label.BackStyle = 1

Alternatively, to return the label `BackColor` to the default color:

Info_Label.BackColor = vbButtonFace

Problem

I was wondering how i can change the Background Color of a label in a UserForm back to the default value? (Transparent or like the UserFormcolor) ``` Info_Label.BackColor = xlTransparent ``` or ``` Info_Label.BackColor = xlNone ``` doesn't work.

Original source