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

تلوين الكلمات التي بها حروف غير مشكولة


asad41163

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

أعضاء المنتدى الأفاضل: السلام عليكم ورحمة الله وبركاته

وجدت هذا الماكرو في بعض المنتديات لتلوين الكلمات التي بها علامات تشكيل..

Sub FindWordsWithCharacter()
 Dim w
 For Each w In ActiveDocument.Range.words
 If InStr(w.Text, ChrW(1611)) Or InStr(w.Text, ChrW(1612)) Or InStr(w.Text, ChrW(1613)) Or InStr(w.Text, ChrW(1614)) _
    Or InStr(w.Text, ChrW(1615)) Or InStr(w.Text, ChrW(1616)) Or InStr(w.Text, ChrW(1618)) _
    Or InStr(w.Text, ChrW(1619)) Or InStr(w.Text, ChrW(1622)) Then ' words with diacritics
 w.Font.Color = wdColorRed
 End If
 Next
 End Sub

وأنا أريد عمل ماكرو لتلوين الكلمات التي بها حرف أو أكثر ليس عليه علامة تشكيل..

وأرجو من حضراتكم المساعدة العاجلة

وفق الله الجميع، وشكر جهودكم البناءة

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

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