![]() |
#1
|
|||
|
|||
![]()
Greetings,
I am puzzled by a macro problem (Word 2007) to which I have not found satisfactory answer. It has to do (I think) with the Wrap Property. A simplified example follows. I am working with content that looks something like this: My dog will come inside the house, but only on the following terms: text I do not care about text I do not care about text I do not care about. My dog will come inside but only on the following terms: text I do not care about text I do not care about text I do not care about. I developed a macro that is supposed to retain only the text that is displayed above in red font. Unfortunately, when I run it, the macro keeps the text below that I have highlighted in blue: My dog will come inside the house, but only on the following terms: text I do not care about text I do not care about text I do not care about. My dog will come inside but only on the following terms: text I do not care about text I do not care about text I do not care about. What have I overlooked? Thanks and regards, q.b. |
#2
|
|||
|
|||
![]()
I believe I figured it out by trial-error. Thanks again.
q.b. |
#3
|
||||
|
||||
![]()
If you need help with macros, you should post the code you're having issues with; without it, no-one may be able to help.
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
In Find and Replace, can Word stop after each Replace? | wardw | Word | 1 | 06-08-2017 02:47 PM |
![]() |
QA_Compliance_Advisor | Word VBA | 11 | 09-11-2014 11:51 PM |
![]() |
Hoxton118 | Word VBA | 7 | 06-10-2014 05:05 AM |
![]() |
paulkaye | Word | 4 | 12-06-2011 11:05 PM |
![]() |
shabbaranks | Excel | 4 | 03-19-2011 08:38 AM |