![]() |
|
#1
|
||||
|
||||
![]() Try: Code:
If .Characters.First.Previous.Fields.Count = 1 Then If .Characters.First.Previous.Fields(1).Result <> "]" Then Exit Do End If If .Characters.First.Previous.ContentControls.Count = 1 Then If .Characters.First.Previous.ContentControls(1).Range.Text <> "]" Then Exit Do End If
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
Hi Macropod, thank you for the updated code - I added this in but got an error 6028 range cannot be detected
Code:
.text = vbNullString Code:
.Start = .Start - 1 |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
![]() |
emblaw | Word | 4 | 12-08-2020 06:23 AM |
![]() |
KDuncan | Word | 6 | 04-28-2020 12:14 AM |
![]() |
michaelbriordan | Word | 3 | 06-17-2015 10:12 AM |
![]() |
bearligirl89 | Word | 3 | 11-20-2013 03:33 PM |
![]() |
jimgard | Word | 1 | 07-23-2013 11:47 AM |