![]() |
|
#5
|
|||
|
|||
|
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? |
| 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 only Tables of a Document
|
Loretti | Word | 1 | 11-12-2012 03:35 PM |
Copy from one word document to another no identical
|
gmurphy | Word | 3 | 09-07-2011 04:28 AM |
How to get rid of Huge Gaps in my 300 pages Document?
|
SpaceMuppet | Word | 7 | 05-04-2011 12:26 PM |
WORD 2003 Need help splitting a HUGE Document
|
dlawson | Word | 4 | 04-14-2009 12:22 PM |