اذهب الي المحتوي
أوفيسنا

حساب مديونيات


الردود الموصى بها

أخى الفاضل

جرب هذا الكود

Private Sub Worksheet_Change(ByVal Target As Range)
Dim LR As Integer
LR = Cells(Rows.Count, "I").End(xlUp).Row
If Not Intersect(Target, Range("I5:I" & LR)) Is Nothing Then
If Target.Count > 1 Then Exit Sub
If Target = "سداد - خالص" And Target.Offset(0, -1) <> 0 Then
Target.Offset(0, 1) = Target.Offset(0, -1)
Target.Offset(0, -1) = 0
Target.Offset(0, -2) = Target.Offset(0, -3)
End If
End If
End Sub

 

مديونيات1.rar

  • Like 1
رابط هذا التعليق
شارك

السلام عليكم ورحمة الله

بارك الله فيك استاذنا رجب جاويش

اريد لفت نظر الاخ الكريم الى انه من غير الممكن تنفيذ الامر بالمعادلات نظراً لانه فى حاله وضع معادلة بعمود المدفوع لتتغير عند جعل قيمه العمود I هى سداد - خالص   سوف تمسح تلقائى عند وضع القيمه المدفوعه

بمعنى اوضح لا يمكن ادخال قيمه بخليه تحوى معادلة وإلا مسحت المعادلة

خالص تحياتى

 

  • Like 1
رابط هذا التعليق
شارك

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

زائر
اضف رد علي هذا الموضوع....

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • تصفح هذا الموضوع مؤخراً   0 اعضاء متواجدين الان

    • لايوجد اعضاء مسجلون يتصفحون هذه الصفحه
×
×
  • اضف...

Important Information