Function Couleur(Plg As Range)
Dim i&, j&
Application.Volatile True
ReDim tb(1 To Plg.Rows.Count, 1 To Plg.Columns.Count)
For i = 1 To Plg.Rows.Count: For j = 1 To Plg.Columns.Count: tb(i, j) = Plg(i, j).Interior.ColorIndex: Next j, i
Couleur = tb
End Function