- Word VBA
- - Content Control
||February 7th, 2012 12:08 PM
I know how to insert a content control into the active document. However I would like to insert a content control into another one that is tagged "SomeTag". there are multiple content controls with this tag that I need to insert another one into.
I am assuming that I have to find the tag like this:
Dim strTmp As String, i As Integer, txt As Range
For i = 1 To .Count
strTmp = strTmp & .Item(i).Range.Text
Set txt = .Item(i).Range
.Text = "Some Text" & 'InsertMy2ndContentControl &" MoreText"
I am reaching I know but any help would be appreciated.
|All times are GMT -4. The time now is 02:40 AM.
Powered by vBulletin®
Copyright ©2000 - 2016, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.