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

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

قام بنشر

اخوانى وأساتذتى الكرام 

الرجاء المساعدة

كيف أدرج علامة صح فى هذا الكود بدلا من غ

Private Sub Workbook_SheetBeforeDoubleClick(ByVal Sh As Object, ByVal Target As Range, Cancel As Boolean)
If Not Intersect(Target, Range("c8:AH397")) Is Nothing Then
    If Target.Value = "" Then
    Cancel = True
    Target.Value = "غ"
    Else
    Cancel = True
    Target.Value = ""
    End If
End If
End Sub

 

قام بنشر

تفضل الكود ومعه ملف

Private Sub Worksheet_BeforeDoubleClick(ByVal Target As Range, Cancel As Boolean)
If Not Intersect(Target, Range("c8:AH397")) Is Nothing Then
    If Target.Value = "" Then
    Cancel = True
    Target.Value = "P"
 Range("c8:AH397").Font.Name = "Wingdings 2"
    Else
    Cancel = True
    Target.Value = ""
    End If
End If
End Sub

 

ادراج علامة صح.xlsm

  • 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