Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 07-02-2017, 03:14 AM
paik1002 paik1002 is offline How to get start and end range indices of a selection Windows 7 64bit How to get start and end range indices of a selection Office 2010 64bit
Advanced Beginner
How to get start and end range indices of a selection
 
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
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Distribute text in one cell across a range of cells (overcoming selection.range.cells.count bug) slaycock Word VBA 0 02-18-2017 07:00 AM
How to get start and end range indices of a selection Working with Selection.range. PRA007 Word VBA 2 02-19-2016 12:52 AM
How to get start and end range indices of a selection Search and reduce the range of a text selection paik1002 Word VBA 1 12-17-2015 04:51 AM
Selection (range) in Word or Excel table NobodysPerfect Word VBA 2 09-16-2014 12:06 AM
Selection or Range Tommes93 Word VBA 1 04-10-2014 02:50 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 01:19 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2025 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft