Thread: [Solved] Move to next content control
View Single Post
 
Old 01-30-2011, 11:14 PM
macropod's Avatar
macropod macropod is online now Windows 7 32bit Office 2000
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 22,384
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

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]
Reply With Quote