Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 11-28-2012, 03:30 AM
ramsgarla ramsgarla is offline Selection of all Text for a specific page in word is spanning selection across pages Windows 7 64bit Selection of all Text for a specific page in word is spanning selection across pages Office 2010 64bit
Novice
Selection of all Text for a specific page in word is spanning selection across pages
 
Join Date: Sep 2012
Posts: 21
ramsgarla is on a distinguished road
Default Selection of all Text for a specific page in word is spanning selection across pages

I am trying to iterate through each and every page in RTF document
and select all the text page by page and apply certain business rules.



Below mentioned is the code that i am using to select all the text page by page in RTF.

ActiveDocument.Bookmarks("\Page").Range.Select()

But i observe that it is selecting text from multiple pages.
i.e. text from current page along with (text from previous page or from next page)

Why is that the above code snippet not selecting text only from the current page but also includes text from next page as well ?


Any suggestions to resolve this and ensure text from only the current page is selected.
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Printing a Selection in Word and keeping it in the same place on the page punkrae Word 0 03-29-2012 10:49 AM
Selection of all Text for a specific page in word is spanning selection across pages Text Box Selection GugaBFigueiredo Word 1 01-16-2012 09:04 PM
Macro to populate a text form field based on dropdown selection koloa Word 0 10-20-2011 11:52 AM
Selection of all Text for a specific page in word is spanning selection across pages table spanning multiple pages 'upside down' lj_eco Word Tables 13 07-17-2011 04:39 PM
Selection of all Text for a specific page in word is spanning selection across pages Form Field - Drop down selection causing auto text chesspupil Word VBA 7 05-09-2010 05:43 AM

Other Forums: Access Forums

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