![]() |
|
#2
|
||||
|
||||
|
You seem to be changing the caption of a content control. Is this intended? It seemed from the description of your problem that you simply wish to paste StrDetails at the location of the bookmark BM2. If you want to move the cursor to a bookmark location, you could use something like this:
Code:
Selection.GoTo What:=wdGoToBookmark, Name:="BM2" Code:
Selection.TypeParagraph Selection.Range.Text = StrDetails Code:
ActiveDocument.ContentControls(2).Range.Text = StrDetails Last edited by jpb103; 06-09-2014 at 06:40 AM. Reason: more efficient code |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
Multiple Choice Drop Down List
|
teza2k06 | Word | 1 | 04-29-2014 04:54 PM |
| Populate a table based on choices from drop down menu | Xaand | Word VBA | 0 | 02-25-2014 11:08 AM |
Design: Adding text choice
|
christopherL | Word | 2 | 10-07-2013 11:22 PM |
Bookmark applied to drop-down list doesn't do the job
|
thecreaser | Word | 5 | 04-11-2013 04:21 AM |
| Adding Macro menu to the right click menu (Word 2007) | masam123 | Word | 0 | 10-14-2011 04:05 AM |