PDA

View Full Version : Shapes as a Toggle Button?



klutz
07-29-2009, 01:55 PM
Hello Freinds,

Is it possible to use a shape inexcel as a Toggle Button?

Toggles can't be formated as nicely as shapes can be.:*)


-Klutz...

Artik
07-29-2009, 02:34 PM
For example (in attached)

Artik

Bob Phillips
07-29-2009, 02:39 PM
You can also do it without changing the shape by having a Static Boolean variable in the procedure which gets toggled


Static fToggle As Boolean

fToggle = Not fToggle

Artik
07-29-2009, 02:44 PM
xld, but when you close file... ;-)

Artik

Bob Phillips
07-29-2009, 02:53 PM
Yes, it will start afresh, that seems reasoanble to me. Of course, the state could be persisted and reinstated if absolutely necessary.

Anyway, it was presented as another option, yours is good, mine is good too, they are alternative approaches.

klutz
07-29-2009, 04:18 PM
Are the possibilities here at this forum with contributors like you guys. Thanks.

Both are kool options...:*)