Bonjour
Je cherche a mettre une correspondance dans un userform entre une comboBox avec des nom et une labelBox qui affiche des numero (qui correspond en fait au numero de ligne). Quand je fais :
Private Sub CommandButton1_Click()
If ComboBox1.Value <> "" Then
Label1.Caption = Sheets("BASE").Range("B" & ComboBox1.Value)
End If
End Sub
La macro se lance bien mais il n'y a rien d'écrit dans LabelBox
Quelqu'un peut il m'aider svp ?
merci
willou
Je cherche a mettre une correspondance dans un userform entre une comboBox avec des nom et une labelBox qui affiche des numero (qui correspond en fait au numero de ligne). Quand je fais :
Private Sub CommandButton1_Click()
If ComboBox1.Value <> "" Then
Label1.Caption = Sheets("BASE").Range("B" & ComboBox1.Value)
End If
End Sub
La macro se lance bien mais il n'y a rien d'écrit dans LabelBox
Quelqu'un peut il m'aider svp ?
merci
willou