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