Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 09-09-2014, 06:22 PM
freepapermate freepapermate is offline Copy from a huge document Windows 8 Copy from a huge document Office 2007
Novice
Copy from a huge document
 
Join Date: Sep 2014
Posts: 7
freepapermate is on a distinguished road
Default

I was able to get the code to select and copy between two known bookmarks which works for me. But How to do this with unknown bookmark.



I used the below code:

Dim orng As Range
Set orng = ActiveDocument.Range
orng.Start = orng.Bookmarks("BM1").Range.End
orng.End = orng.Bookmarks("BM2").Range.Start
orng.Select

How can I modify the above code so that "BM1" is what I from index?
Reply With Quote
Reply

Tags
copy paste, word 2007



Similar Threads
Thread Thread Starter Forum Replies Last Post
Copy webcontent to a document elmnas Word VBA 1 07-15-2014 10:08 PM
Copy from a huge document Copy only Tables of a Document Loretti Word 1 11-12-2012 03:35 PM
Copy from a huge document Copy from one word document to another no identical gmurphy Word 3 09-07-2011 04:28 AM
Copy from a huge document How to get rid of Huge Gaps in my 300 pages Document? SpaceMuppet Word 7 05-04-2011 12:26 PM
Copy from a huge document WORD 2003 Need help splitting a HUGE Document dlawson Word 4 04-14-2009 12:22 PM

Other Forums: Access Forums

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