troubleshooting Question

MS Word 2013 VBA: I would like to search for a word, go to the beginning of the line. select the data until the hard return (paragraph symbol)

Avatar of brothertruffle880
brothertruffle880Flag for United States of America asked on
VBAMicrosoft Word
2 Comments2 Solutions70 ViewsLast Modified:
Please help me write a macro.

I would like to:
1. search for the word degree.
2. stop the search.
3. bring the cursor to the beginning of the line.
4. select the line up to and including the hard return (paragraph symbol)
5. Delete that selection
6. prompt message box:  Would you like to repeat this macro starting at step 1. YES (go to step 1) NO (end macro)

for some reason my macro recorder does not record "searching".
ASKER CERTIFIED SOLUTION
John Korchok
Production Manager
Join our community to see this answer!
Unlock 2 Answers and 2 Comments.
Start Free Trial
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 2 Answers and 2 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros