![]() |
#2
|
|||
|
|||
![]()
Sub BoldTextWithinBrackets_AddQuotes()
Dim oRng As Range Set oRng = ActiveDocument.Range Application.ScreenUpdating = False With oRng.Find .ClearFormatting .Replacement.ClearFormatting .Forward = False .Wrap = wdFindStop .Format = True .MatchWildcards = False .Font.Bold = True .Replacement.Text = """^&""" .Execute Replace:=wdReplaceAll End With Application.ScreenUpdating = True lbl_Exit: Exit Sub End Sub |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
Shelley Lou | Word VBA | 3 | 02-11-2024 05:56 AM |
Subscript and bold number between square brackets and remove square brackets | nonno | Word | 0 | 02-10-2024 08:23 AM |
Find and delet all text within brackets and the brackets themselves | ranjan | Word VBA | 2 | 07-22-2021 01:06 AM |
![]() |
wrdy | Word | 2 | 08-03-2017 06:55 PM |
Microsoft Word macro to find text, select all text between brackets, and delete | helal1990 | Word VBA | 4 | 02-05-2015 03:52 PM |