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

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

بارك الله في حضرتك طيب ممكن تشرحلي في حالة هذا الكود اضع العلامة ولا احذفها  حتي يتم تفعيل الكود العلامة هي '

Sub check_hard()
On Error Resume Next
With CreateObject("Scripting.FileSystemObject")
Da.[bb19].Value = Hex(.Drives.Item("c:").SerialNumber)
End With
If Da.Range("bb19").Value = "" Then GoTo 1
For Each c In Da.Range("bb21:bb35")
If c.Text = Da.Range("bb19").Text Then Exit Sub
Next
1  MsgBox " عفوا البرنامج غير مخصص لهذا الجهاز ", vbCritical + vbMsgBoxRight, "المدير 1122 "
Application.DisplayFullScreen = False
Application.DisplayAlerts = False
Application.Quit
ThisWorkbook.Close savechanges:=False
Application.DisplayAlerts = True
End Sub

تم تعديل بواسطه المدير1122
رابط هذا التعليق
شارك

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