Microsoft Office Forums

Go Back   Microsoft Office Forums > >

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-05-2018, 05:17 AM
Cosmo Cosmo is offline Moving a text range to specific location Windows Vista Moving a text range to specific location Office 2007
Competent Performer
Moving a text range to specific location
 
Join Date: Mar 2012
Posts: 240
Cosmo is on a distinguished road
Default Moving a text range to specific location

I need to move a text range (the text itself, not the range object) to a specific location within a paragraph, and I don't see any way to do so. The 'move' methods are for manipulating the object, not it's content, and the 'relocate' method only seems to move text up or down a paragraph. I didn't see any document methods to do this either.



The current situation I need is to relocate an endnote reference. There are multiple endnotes in this document, and portions of the document which are removed depending on options selected by the user. The endnotes have multiple cross-references to them, so if an endnote is contained within a portion of text which is being removed, I need to move it to the location of the first cross-reference to it, then delete the cross-reference.

Is there a way to take a range (e.g. characters 40-41) and move them to position 126?
Reply With Quote
 



Similar Threads
Thread Thread Starter Forum Replies Last Post
Moving a text range to specific location Save as PDF in specific location with filename using todays date miyoung Word VBA 2 08-15-2017 09:15 AM
Selecting and moving text boxes identified by specific text. Chayes Word VBA 8 02-22-2016 07:01 AM
How to insert text at specific location as bold PRA007 Word VBA 7 01-05-2016 10:12 PM
Moving a text range to specific location Moving formula range multiple cells when moving sum over one cell FraserKitchell Excel 4 02-26-2010 10:38 AM
Create Hyperlinks from Word to specific location in PDF sukanyae Word 0 02-25-2010 04:08 PM

Other Forums: Access Forums

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