Avatar of brothertruffle880
brothertruffle880
Flag for United States of America asked on

MS Word 2010 VBA - How to delete a line of text

I need a MS word macro which does the following:

1. Brings the blinking cursor to the left side of the line of text (i.e. beginning of the line.)  The cursor could be anywhere in the middle of a line of text.
2. Select all the text on that line (including the hard return symbol).
3. Delete the entire line of text.
VBAMicrosoft Word

Avatar of undefined
Last Comment
Flyster

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Flyster

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck