C
Cesarini
Hi Guys,
I'm working on Word 2007 and creating a form input user. I'm doing this for
a user that have Office 2003, so I have a compatibility mode template
document. It also include VBA code. What i need to do is to read every
existing text control. Theses controls are ActiveX.
I always have used:
For Each xControl In Controls
If TypeOf xControl Is TextBox Then
xControl.value=""
End If
Next xControl
But now in Word 2007 in compatibility mode I do not know how to do it,
becuase there is not "Controls" in the ActiveDocument.
Can any one help me about it? I will appreciate it
I'm working on Word 2007 and creating a form input user. I'm doing this for
a user that have Office 2003, so I have a compatibility mode template
document. It also include VBA code. What i need to do is to read every
existing text control. Theses controls are ActiveX.
I always have used:
For Each xControl In Controls
If TypeOf xControl Is TextBox Then
xControl.value=""
End If
Next xControl
But now in Word 2007 in compatibility mode I do not know how to do it,
becuase there is not "Controls" in the ActiveDocument.
Can any one help me about it? I will appreciate it