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

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

  • أفضل إجابة
قام بنشر (معدل)

استبدل الكود بـ

Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("e:e")) Is Nothing Then
            With Target
            On Error GoTo 1
             If Target <> "" Then
                .Offset(, -3) = "BFL"
                .Offset(, 2) = 0
                .Offset(, 3) = "398"
                End If
            End With
        End If
1 End Sub

أو

Private Sub Worksheet_Change(ByVal Target As Range)
    If Not Intersect(Target, Range("e:e")) Is Nothing Then
        With Target
            If Target.Count > 1 Then Exit Sub
            If Target <> "" Then
                .Offset(, -3) = "BFL": .Offset(, 2) = 0: .Offset(, 3) = "398"
            End If
        End With
    End If
End Sub

 

تم تعديل بواسطه محي الدين ابو البشر
  • 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