TalosBlack
Programmer
I am trying to use VBScript to make an OutLook form for the first time. I can't figure out what i need to do to refer to a specific field. By looking at online documentation i thought that somehting like this might work:
Sub CheckBox1_Click()
Set HMM = CheckBox1.Value
If HMM.Value=True Then
TextBox2.Enabled=True
Else
TexBox2.Enabled=False
End If
End Sub
For starters I was trying to get an attriubute from a check box if that box is checked then i would like it to enable to other fields if it isn't i don't want those fields to be available. I know that code is wrong and could be very wrong. I don't know how to refer to a field i was trying to use the name from the properties page but that doesn't seem to work. Any help would be great.
Thanks
John
Sub CheckBox1_Click()
Set HMM = CheckBox1.Value
If HMM.Value=True Then
TextBox2.Enabled=True
Else
TexBox2.Enabled=False
End If
End Sub
For starters I was trying to get an attriubute from a check box if that box is checked then i would like it to enable to other fields if it isn't i don't want those fields to be available. I know that code is wrong and could be very wrong. I don't know how to refer to a field i was trying to use the name from the properties page but that doesn't seem to work. Any help would be great.
Thanks
John