Quantcast
Channel: General Office Development forum
Viewing all articles
Browse latest Browse all 2257

ActiveWindow.Selection.TextRange does not return the whole text selection when selecting split texts

$
0
0

Hi,

if you select two different text blocks in a shape.

i.e cooking and barbecueing in this example.

ActiveWindow.Selection.TextRange.Text only returns the lastly selected text.

i.e. you first select cooking and then barbecueing. The text in the selection is only barbecueing.

In my estimation it should return cooking and barbecueing as well as two lines if I access the Lines(-1,-1) of the TextRange.

Can you tell me if my estimation is wrong or if there is a workaround to get the information needed.

Thanks.

Best regards

Christopher Black


Viewing all articles
Browse latest Browse all 2257

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>