View Single Post
 
Old 07-02-2017, 03:14 AM
paik1002 paik1002 is offline Windows 7 64bit Office 2010 64bit
Advanced Beginner
 
Join Date: Dec 2015
Posts: 63
paik1002 is on a distinguished road
Default How to get start and end range indices of a selection

Two related questions:

Q1. How do I detect if text is already selected.
Q2. If text has already been selected (highlighted), how to get start and end range indices of the selection?

I need to get the text re-selected after doing something else (hence above text selection becomes unselected), so I need to know the exact range indices.

VBA codes please. Help would be appreciated.
Reply With Quote