Private Sub CB_MouseMove(ByVal Button As Integer, ByVal Shift As Integer, ByVal X As Single, ByVal Y As Single)
n = Right(CB.Name, Len(CB.Name) - 2)
l = Left(Right(CB.Name, Len(CB.Name) - 2), 1)
With UserForm5.Controls("CB" & n)
If .Tag <> "" Then
If Not (Feuil3.Range(.Tag).Comment Is Nothing) Then
UserForm5.Controls("Label" & l & "00").Caption = Feuil3.Range(.Tag).Comment.Text
UserForm5.Controls("Label" & l & "00").Top = IIf(.Top < 100, .Top + 18, .Top - 42)
UserForm5.Controls("Label" & l & "00").Left = IIf(.Left < 300, .Left + 24, .Left - 72)
UserForm5.Controls("Label" & l & "00").Visible = -1
Select Case Len(Feuil3.Range(.Tag).Comment.Text)
Case Is < 50
UserForm5.Controls("Label" & l & "00").Height = 40
UserForm5.Controls("Label" & l & "00").Width = 100
Case Is > 100
UserForm5.Controls("Label" & l & "00").Height = 80
UserForm5.Controls("Label" & l & "00").Width = 200
Case Else
UserForm5.Controls("Label" & l & "00").Height = 60
UserForm5.Controls("Label" & l & "00").Width = 150
End Select
End If: End If: End With
End Sub