ما الخطأ في الكود التالي؟ في منتدى الاكسيل Excel قام بنشر مايو 21, 2021 ()Private Sub CommandButton1_Click Dim ahmed As Range ahmed = sheet2.Range("a10000").End(xlUp).Row + 1 sheet2.Cells(ahmed, "a").Value = sheet1.Range("d2").Value End Sub
ما الخطأ في الكود التالي؟
في منتدى الاكسيل Excel
قام بنشر
()Private Sub CommandButton1_Click
Dim ahmed As Range
ahmed = sheet2.Range("a10000").End(xlUp).Row + 1
sheet2.Cells(ahmed, "a").Value = sheet1.Range("d2").Value
End Sub