Sub Circles1()
Dim C As Range
Dim MyRng As Range
Set MyRng = Range("J8:M1000")
For Each C In MyRng
' ÚãæÏ ÑÞã ÇáÌáæÓ åæ ÇáÚãæÏ 2
If Cells(C.Row, 2) = 0 Then GoTo 1
If C.Value < Cells(7, C.Column) Or C.Value = "Û" Or C.Value = "ÛÜ" Then
Set v = ActiveSheet.Shapes.AddShape(msoShapeOval, C.Left, C.Top, C.Width, C.Height)
v.Fill.Visible = msoFalse
v.Line.ForeColor.SchemeColor = 10
v.Line.Weight = 1.25
End If
1 Next
End Sub
Sub RemoveCircles1()
Dim shp As Shape
For Each shp In ActiveSheet.Shapes
If shp.AutoShapeType = msoShapeOval Then shp.Delete
Next shp
End Sub
وإذا اردت عمل الدوائر لأعمده خاصة
Set MyRng = Range("K8:K1000,H8:H1000,E8:E1000")