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

تعديل تنسيق ما بين الأقواس فى برنامج وورد


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

غابا يجتاج الباحث الي تعديل تنسيق ما ذكر بين الأقواس ليجعله بخط مائل 

 و للتطبيق على كافة محتويات الملف دفعة واحدة و ليست المنطقة المختارة فقط

Sub FormatBetBracketsWholeDoc()


    Dim cDoc As Word.Document
    Dim cRng As Word.Range
    
    Set cDoc = ActiveDocument
    Set cRng = cDoc.Content
 
    
    cRng.Find.ClearFormatting
    With cRng.Find
        .Forward = True
        .Text = "("
        .Wrap = wdFindStop
        .Execute
        Do While .Found
            cRng.Collapse Word.WdCollapseDirection.wdCollapseEnd
            cRng.MoveEndUntil Cset:=")", Count:=Word.wdForward
            cRng.FormattedText.Italic = True
            cRng.Collapse Word.WdCollapseDirection.wdCollapseEnd
            .Execute
        Loop
    End With
End Sub

و يمكن ايضا عمل ذلك بعدة طرق بديلة

كما هو فى الموضوع الأصلي

 

  • Like 2
رابط هذا التعليق
شارك

  • 3 weeks later...

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