Code ne fonctionne pas
Résolu
jean300
Messages postés
382
Statut
Membre
-
jean300 Messages postés 382 Statut Membre -
jean300 Messages postés 382 Statut Membre -
Bonjour,
Ces codes ne fonctionnent pas et je comprends pas :
Private Sub Worksheet_Activate()
If Sheet("FR")("AB2") <> "T" Then Btn_Traité.Visible = False
If Sheet("FR")("AB2") = "T" Then Btn_Traité.Visible = True
End Sub
Merci de m'éclairer.
Ces codes ne fonctionnent pas et je comprends pas :
Private Sub Worksheet_Activate()
If Sheet("FR")("AB2") <> "T" Then Btn_Traité.Visible = False
If Sheet("FR")("AB2") = "T" Then Btn_Traité.Visible = True
End Sub
Merci de m'éclairer.
Configuration: Windows / Firefox 64.0
4 réponses
-
Bonjour
Private Sub Worksheet_Activate() If Sheet("FR").Range("AB2") <> "T" Then Btn_Traité.Visible = False If Sheet("FR").Range("AB2") = "T" Then Btn_Traité.Visible = True End Sub -
Bonjour M-12
Je te remercie pour ta réponse, seulement, ne fonctionne toujours pas chez moi.-
Re,
Place un classeur modèle
Tu vas dans https://www.cjoint.com/
Tu cliques sur "PARCOURIR" pour sélectionner ton fichier
Clic le bouton "CREER LE LIEN"
Clic droit quand le lien est créé "COPIER LE LIEN"
Sur ton message Clic droit "Coller". -
-
-
Voici, en vous remerciant
https://www.cjoint.com/c/IBckklNbmk6 -
Bonjour M-12
Merci beaucoup, il est temps que je me réveille.
Bon dimanche.