Avatar of FaheemAhmadGul
FaheemAhmadGul
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Word Macro to select all text in a sentence from the currrent curser position in the sentence to the end of the sentence including the full stop.

I need help with Word Macro that would select all text in a sentence from the current cursor position (in the sentence) to the end of the sentence (marked by full stop).
So if I have a sentence "An apple a days is good for health. " and the cursor is just to letter "d" in the word "days" when I call the Macro all text to the right up to and including the full stop "days is good for health. " should get selected.
VBAMicrosoft Word

Avatar of undefined
Last Comment
Subodh Tiwari (Neeraj)

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Subodh Tiwari (Neeraj)

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.
FaheemAhmadGul

ASKER
Many thanks.
Subodh Tiwari (Neeraj)

You're welcome Faheem!
All of life is about relationships, and EE has made a viirtual community a real community. It lifts everyone's boat
William Peck