Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Checkbox BackStyle Transparent

Status
Not open for further replies.

RP1America

Technical User
Aug 17, 2009
221
US
I have an ActiveX checkbox on a Word document. I would like for the checkbox's background to be transparent. I have set the BackStyle to transparent, yet when I turn off design mode, it is still showing a background color.

Any thoughts on how to accomplish background transparency?

Thanks!
 

What is the BackColor set to?

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
&H00FFFFFF&

Didn't realize that might matter as I didn't see a place to either remove the color or make transparent within BackColor.
 


Transparent does not mean colorless. You can have both color and transparency.

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
So is there a way to make the background completely transparent (colorless)?
 



Hmmmm??? I am seeing the same thing. It is NOT transparent at all!

Skip,

[glasses]Just traded in my old subtlety...
for a NUANCE![tongue]
 
Revisiting...

I was able to get the checkbox backstyle transparent. However, when the checkbox is clicked it reverts back to a white backcolor. Is there a way to avoid this? I tried the following, but it's not working as I thought it might.

Code:
Sub CheckBox1_Click()

    If CheckBox1.Value = True Then
        Range("B8").Value = WindowsUserName
    Else
        Range("B8").Value = ""
    End If

CheckBox1.BackStyle = fmBackStyleTransparent
End Sub
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top