Sub a()
Dim Rng As Range
Dim Cel As Range
Set Rng = ActiveSheet.Range("F7:F8,F10:F11")
For Each Cel In Rng
Cel.Select
MsgBox "Cellule " & Cel.Address
Next Cel
End Sub
Sub b()
Dim Rng As Range
Dim Grp As Range
Dim Cel As Range
Set Rng = ActiveSheet.Range("F7:F8,F10:F11")
For Each Grp In Rng.Areas
MsgBox "Area " & Grp.Address
For Each Cel In Grp
Cel.Select
MsgBox "Cellule " & Cel.Address
Next Cel
Next Grp
End Sub
Sub d()
Dim Rng As Range
Dim Grp As Range
Dim Cel As Range
Dim i As Integer
Set Rng = ActiveSheet.Range("F7:G8,F10:G11")
For Each Grp In Rng.Areas
MsgBox "Area " & Grp.Address
For i = 1 To Grp.Cells.Count
Set Cel = Grp.Cells(i)
Cel.Select
MsgBox "Cellule " & Cel.Address
Next i
Next Grp
End Sub
Sub f()
Dim Rng As Range
Dim Grp As Range
Dim Cel As Range
Dim k As Integer
Dim i As Integer
Set Rng = ActiveSheet.Range("F7:G8,F10:G11")
For k = 1 To Rng.Areas.Count
Set Grp = Rng.Areas(k)
MsgBox "Area " & Grp.Address
For i = 1 To Grp.Cells.Count
Set Cel = Grp.Cells(i)
Cel.Select
MsgBox "Cellule " & Cel.Address
Next i
Next k
End Sub