Salut le forum
Un bout de code qui détecte la sélection
Sub DetectSelection()
With Selection
If .Rows.Count > 1 And .Columns.Count > 1 Then
MsgBox "Sélection = Plage"
Else
If .Rows.Count > 1 Then MsgBox "Sélection = Ligne"
If .Columns.Count > 1 Then MsgBox "Sélection = Colonne"
If .Rows.Count = 1 And .Columns.Count = 1 Then MsgBox "Sélection = Cellule"
End If
End With
End Sub
Mytå
P.S. Merci de faire un retour sur tes anciennes ficelles, Damoiselle et y donner une réponse, si les questions ont été résolues.