![]() |
|
#1
|
|||
|
|||
![]()
Hi Greg
Thank you so much for looking at this code for me, it is very much appreciated. I've just come across a small issue in that if the paragraph mark at the end of each definition is bold the code thinks this is a new definition and inserts quote marks. I'm trying to add somewhere in the code for formatting to be cleared from paragraph marks. Best wishes, Shelley unbold para marks.JPG |
#2
|
|||
|
|||
![]()
Hi Greg, with a bit of playing around I've managed to sort the bold para marks issue with the following code which seems to work slotted in just below ResetFRParameters. Thanks so much for your help on this.
Code:
With oRng.Find 'remove bold from para marks' .Text = "^p" .Replacement.Text = "^p" .Replacement.Font.Bold = False .Execute Replace:=wdReplaceAll End With |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
LuisXVI | Word VBA | 4 | 11-12-2018 03:12 PM |
![]() |
staicumihai | Word VBA | 4 | 11-07-2018 01:14 AM |
![]() |
rsrasc | Word VBA | 4 | 04-18-2018 11:32 PM |
Tabs set along left edge of page; how to delete | ginny | Word | 4 | 03-21-2018 08:07 PM |
![]() |
AlexanderJohnWilley | Word VBA | 7 | 11-08-2012 10:15 AM |