Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Not Application.Intersect(Target, Range("F6:F15")) Is Nothing Then
Cancel = True
Application.Interactive = False
With Me.Combo1
.List = Array("Metropole 33", "988 Nouvelle-Calédonie 687", "987 Polynésie française 689", _
"974 La Réunion 262", "973 Guyane 594", "972 Martinique 596", "971 Guadeloupe 590")
.Left = Target.Offset(, 1).Left '<-- position horizontale
.Top = Target.Top '<-- position verticale
.Width = 202 '<-- largeur
.Height = 1 '<-- hauteur '= Target.Height
.Visible = True
.DropDown
End With
End If
End Sub
Private Sub Combo1_Change()
Application.Interactive = True
If Combo1.MatchFound Then
Combo1.Visible = False
ActiveCell.Value = Right$(Combo1.Text, 3) & Right$(ActiveCell.Value, 9)
Combo1.Text = ""
[a1].Select
End If
End Sub