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

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

قام بنشر

انسخ هذا الكود في ورقة العمل

 

Private Sub Worksheet_Change(ByVal Target As Range)
If Target.Column = 2 And Target.Row > 4 Then
If Not IsEmpty(Target) Then
Target.Offset(0, 1) = DateDiff("d", Target.Offset(0, -1), Target) & " -NTS"
Target.Offset(0, 2) = Format(Target.Offset(0, -1), "dddd")
End If
End If
End Sub

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.

×
×
  • اضف...

Important Information