R robindr400 XLDnaute Nouveau 11 Mars 2016 #1 Bonjour la communauté Peut on rendre dynamique l'affichage du caption d'un commandbutton suivant une condition Pour les userform j'utilise (merci la communauté) Private Sub UserForm_Initialize() If Range("version") = "FR" Then Me.Caption = "Paramètres" Else Me.Caption = "Parameters" End If End Sub Mais pour un button y arrive pas ... Merci
Bonjour la communauté Peut on rendre dynamique l'affichage du caption d'un commandbutton suivant une condition Pour les userform j'utilise (merci la communauté) Private Sub UserForm_Initialize() If Range("version") = "FR" Then Me.Caption = "Paramètres" Else Me.Caption = "Parameters" End If End Sub Mais pour un button y arrive pas ... Merci
phlaurent55 Nous a quittés en 2020 Repose en paix 11 Mars 2016 #2 Re : Caption d'un commandbutton Bnojour robin, Private Sub UserForm_Initialize() If Range("version") = "FR" Then Button1.Caption = "Paramètres" Else Button1.Caption = "Parameters" End If End Sub à+ Philippe Vote positif 0 Vote négatif
Re : Caption d'un commandbutton Bnojour robin, Private Sub UserForm_Initialize() If Range("version") = "FR" Then Button1.Caption = "Paramètres" Else Button1.Caption = "Parameters" End If End Sub à+ Philippe
R robindr400 XLDnaute Nouveau 11 Mars 2016 #3 Re : Caption d'un commandbutton Merci beaucoup C'est vraiment cool d'apprendre ! Vote positif 0 Vote négatif