![]() |
|
#1
|
||||
|
||||
![]()
Hi Brock,
If the Content Controls both have the same tag, you could use something like: Code:
Dim strTmp As String With ActiveDocument.SelectContentControlsByTag("ContainerContents") strTmp = .Item(1).Range.Text & .Item(2).Range.Text End With
__________________
Cheers, Paul Edstein [Fmr MS MVP - Word] |
#2
|
|||
|
|||
![]()
It works!! I removed the Exit For and got the code to move to the next instance in the manner I needed. Basically, I need it to create the string for each tag it finds. Thanks again Paul, much appreciated!
Brock |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Table of Content Eat up RAM Resources | Tommy | Word | 0 | 08-23-2010 10:08 PM |
need to grab content of certain fields? | erik2000 | Word | 0 | 02-19-2010 04:19 AM |
Package for CD with links to Windows media player content and Flash Shockwave content | hectorh | PowerPoint | 4 | 10-15-2009 12:22 PM |
![]() |
albytrott | Word | 1 | 10-08-2009 08:27 AM |
Templates: automatic text generation from Rich Text content control | Chickenmunga | Word | 0 | 10-01-2008 11:16 AM |