Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #6  
Old 02-05-2024, 04:11 AM
Italophile Italophile is offline Read text from Start/End points Windows 11 Read text from Start/End points Office 2021
Expert
 
Join Date: Mar 2022
Posts: 563
Italophile is just really niceItalophile is just really niceItalophile is just really niceItalophile is just really nice
Default

If you are using Selection.Range you have one range, not two. A Range has a collection of paragraphs, as you would see by using the Object Browser, so you simply need to loop through them. For example:

Code:
    Dim rng As Range: Set rng = Selection.Range
    Dim para As Paragraph
    For Each para In rng.Paragraphs
        'do something
    Next para
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Read text from Start/End points Using bulltet points in Table changes position of the text DEQHUQBG Word 5 06-29-2020 03:32 AM
hide edit points of text/shape box Jackie Word 5 09-06-2015 04:23 PM
Read text from Start/End points Bullet Points in text boxes caz46 PowerPoint 2 11-17-2013 06:18 AM
Read text from Start/End points Bullet points with text? jjmclell Word 2 03-01-2013 11:42 AM
Edit Points in Curve: MS Office changes points properties itself, without my action. Sergey SPb PowerPoint 0 08-27-2012 05:33 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 06:54 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