اذهب الي المحتوي
أوفيسنا
بحث مخصص من جوجل فى أوفيسنا
Custom Search

طرح الوقت لتحديد ساعات العمل


إذهب إلى أفضل إجابة Solved by محمد هشام.,

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

  • أفضل إجابة

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

Private Sub TextBox2_Change()
On Error Resume Next
Diff_n = DateDiff("n", TextBox1, TextBox2)
Diff_h = Diff_n \ 60
Diff_m = Diff_n - (Diff_h * 60)
TextBox3 = Format(Diff_h, "00") & ":" & Format(Diff_m, "00")
On Error GoTo 0
End Sub

 

test.xlsm

  • Like 1
  • Thanks 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