gibbo1715
11-08-2005, 07:47 AM
Can anyone tell me the correct syntax for the code below please
Im trying just to set the enabled property to false only in section(1)
Cheers
Gibbo
Private Sub CommandButton1_Click()
For Each aField In ActiveDocument.Sections(1).FormFields
If aField.Type = wdFieldFormTextInput Then
aField.Enabled = False
End If
Next aField
End Sub
Im trying just to set the enabled property to false only in section(1)
Cheers
Gibbo
Private Sub CommandButton1_Click()
For Each aField In ActiveDocument.Sections(1).FormFields
If aField.Type = wdFieldFormTextInput Then
aField.Enabled = False
End If
Next aField
End Sub