Button supposed to be transparent but is not when clicked.

G

Guest

I used a form control to add some buttons to my worksheet. The buttons have
been set to transparent because I cannot align the text to the upper left
corner and the small size of the buttons will cut off a portion of the text.
My problem is that when I click on the transparent button, the back color
shows up, hiding the text behind the button and will not go away until I
click on another cell that does not have a button. I need the button to stay
transparent so the user can see the text behind the button at all times.
What am I doing wrong?
 
N

NickHK

AFAIK, nothing wrong, that's how it works. You also set
TakeFocusOnClick=False, but the button will not be transparent, whilst it's
being clicked.
You can assign a macro to a Shape instead, if that is suitable.

NickHK
 
G

Guest

It's fine that the button color shows while it's being clicked, I can live
with that. But is it supposed to stay highlighted? Can I get the button to
go back to being transparent after I have clicked on it? I have tried setting
the focus property to false but still no results.

Thanks so much for replying. I am new to this aspect of Excel and this is
driving me crazy.
 
N

NickHK

Which version of Excel:
2002:
TakeFocusOnClick is the best you do.
2000:
TakeFocusOnClick has no effect. You lose transparency as soon as the button
is clicked.

Use a Shape and assign a macro then.

NickHK
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top