View Single Post
 
Old 08-14-2013, 07:03 AM
czsti czsti is offline Windows 7 32bit Office 2010 32bit
Novice
 
Join Date: Aug 2013
Posts: 6
czsti is on a distinguished road
Default Activate/ select ContentControl

Hi,

how can I activate my created 'ContentControl' (cursor blinking in this one)?

I need something like this (marked by red color):

Code:
 
Dim i As Long
Dim myContentControl As contentControl
For i = 1 To ActiveDocument.ContentControls.Count
    If ActiveDocument.ContentControls(i).Title = "test" Then
        Set myContentControl = ActiveDocument.ContentControls(i)
    End If 
Next
 
myContentControl.Activate
Please help me
Reply With Quote