Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Modifier Option Button

2 réponses
Avatar
SHiSo
Bonjour,

je ne trouve pas comment, par un script vba
modifier la couleur de fond d'un Option Button
d'une maniere comme suit:
ActiveSheet.Shapes("OptionButton1").BackColor = Couleur

Si c'est possible :)

SHiSo

2 réponses

Avatar
SHiSo
Dim myS As Shape
Set myS = ActiveSheet.Shapes("OptionButton1")
With myS
.OLEFormat.Object.BackColor = &HC0C0C0
End With

ceci ne marche pas :(
Avatar
SHiSo
Voila :)
ActiveSheet.OLEObjects("OptionButton1").Object.BackColor &HC0C0C0