bobsacaman01
05-09-2011, 09:13 AM
Hello,
I currently have a macro in place that will color certain words within a text. I'm wondering if there is a way to delete a whole line that contains a certain color.
For example, the following is a bit of my text in Word. I've highlighted every instance of "Kirkendoll"...is there a way within Word to delete all the lines containing "Kirkendoll" whether by doing a "Find/Replace" or writing a macro? I'm not sure...
Thanks in advance!!
Ut 1 10 Ut24 Gilbert Garret P C Whittaker Fosw 5 UT29 Lewis Travis
Ut 2 5 Ut29 Gilbert Garret P C Kirkendoll Jam 6 UT35 Wort Tom PEN UT
Ut 2 15 Ut19 Gilbert Garret P C Goodwin Marqui 15 UT34 Nelson Jonatha
Ut 2 10 Ut24 Gilbert Garret P C Matthews Barre 5 UT29 Wort Tom
Ut 3 5 Ut29 Gilbert Garret P C Kirkendoll Jam 9 UT38 UT Hurst
Ut 1 10 Ut38 Gilbert Garret P C Whittaker Fosw 2 UT40 Lewis Travis
Ut 2 8 Ut40 Gilbert Garret P C Kirkendoll Jam 5 UT45 Wort Tom
Ut 3 3 Ut45 Gilbert Garret P I Kirkendoll Jam dropped P
Ut 4 3 Ut45 Roberson Ryan R . . . 3 UT48 UT Wort Tom
I currently have a macro in place that will color certain words within a text. I'm wondering if there is a way to delete a whole line that contains a certain color.
For example, the following is a bit of my text in Word. I've highlighted every instance of "Kirkendoll"...is there a way within Word to delete all the lines containing "Kirkendoll" whether by doing a "Find/Replace" or writing a macro? I'm not sure...
Thanks in advance!!
Ut 1 10 Ut24 Gilbert Garret P C Whittaker Fosw 5 UT29 Lewis Travis
Ut 2 5 Ut29 Gilbert Garret P C Kirkendoll Jam 6 UT35 Wort Tom PEN UT
Ut 2 15 Ut19 Gilbert Garret P C Goodwin Marqui 15 UT34 Nelson Jonatha
Ut 2 10 Ut24 Gilbert Garret P C Matthews Barre 5 UT29 Wort Tom
Ut 3 5 Ut29 Gilbert Garret P C Kirkendoll Jam 9 UT38 UT Hurst
Ut 1 10 Ut38 Gilbert Garret P C Whittaker Fosw 2 UT40 Lewis Travis
Ut 2 8 Ut40 Gilbert Garret P C Kirkendoll Jam 5 UT45 Wort Tom
Ut 3 3 Ut45 Gilbert Garret P I Kirkendoll Jam dropped P
Ut 4 3 Ut45 Roberson Ryan R . . . 3 UT48 UT Wort Tom