Sub DesFormesEtDesTeintesPourDétente()
Dim rng As Range, shp As Shape, i&, j&
Randomize 1600
For i = 1 To 3
For j = 1 To 6
Set rng = Cells(i, j)
With rng
Set shp = ActiveSheet.Shapes.AddShape(1, .Left, .Top, .Width, .Height)
shp.Fill.ForeColor.RGB = RGB(Int(255 * Rnd), Int(255 * Rnd), Int(255 * Rnd))
shp.TextFrame2.TextRange.Text = "TEST"
shp.TextFrame2.TextRange.Font.Fill.ForeColor.RGB = RGB(0, 0, 0)
End With
Next j
Next i
End Sub