R
Robin Tucker
Consider the following field codes:
«SECTION_START»
....
Some text
....
Maybe an image
....
«SECTION_END»
How is it possible for me to create a range starting from the end of the
section_start mergefield and end at the section_end merge field start?
At present, I'm writing the following:
Dim theRange As Word.Range
theRange.Start = theFirstField.Result.End + 1
theRange.End = theSecondField.Result.Start - 1
However, it always seems that the range contains the second field code. All
I want is the stuff inbetween, NOT including the field codes.
Thanks for any tips you can give me on this,
Robin
«SECTION_START»
....
Some text
....
Maybe an image
....
«SECTION_END»
How is it possible for me to create a range starting from the end of the
section_start mergefield and end at the section_end merge field start?
At present, I'm writing the following:
Dim theRange As Word.Range
theRange.Start = theFirstField.Result.End + 1
theRange.End = theSecondField.Result.Start - 1
However, it always seems that the range contains the second field code. All
I want is the stuff inbetween, NOT including the field codes.
Thanks for any tips you can give me on this,
Robin