سؤال للأخ سليم
 
	عندما أردت أن أحول كل الصيغ في المجا ل (MY_RG)  لقيم أضفت سطر فأعطى نتيجة غير صحيحة
 
Dim lr As Integer
    Dim my_rg As Range
    Dim my_nb As Integer
    Dim i As Integer
 my_nb = Cells(1, 1).Value
lr = Cells(Rows.Count, 1).End(3).Row
 For i = 2 To lr
   If Cells(i, 1) = my_nb Then
        If my_rg Is Nothing Then
         Set my_rg = Cells(i, 1).Resize(1, 5)
            my_rg.Select
            Else
         Set my_rg = Union(my_rg, Cells(i, 1).Resize(1, 5))
            my_rg.Select
        End If
     End If
     Next
     my_rg.Select
     my_rg.Value = my_rg.Value
	ممكن المساعدة في أكتشاف الخطأ أو أضافة السطر الصحيح
 
	.شكرا