Thank you Shadow! I tried the script and from what I can figure this would work in VB:
sub CheckBox3_OnClick
Text3.Enabled=True
TextBox3.Visible=True
end sub
However, it doesn't work in VBScript for Outlook (?). Obviously I don't know much about this, but from what I've been trying to piece together there is no OnClick in Outlook???
I dont know that u use Outlook VBscript
U are using an Outlook editor for script like VBscript for Excel or Word, or something?
Tell me more abou it... i could help u because i had the same problem in "Excel VBscript"
sub CheckBox3_Click
Text3.Enabled = True
TextBox3.Visible = True
end sub
Now this finally recognizes that I clicked the checkbox. But the debugger comes up and says it can't find Item "Text3". That IS the name of the object, though. The help file lists an example with
DIM Text 3
at the beginning (to declare the items?), but that doesn't work either.
After extensive use of the Help files : ) I've finally found something that works like it should:
Dim Text3
Dim TextBox3
Dim CheckBox3
Sub CheckBox3_Click()
Text3.Enabled = CheckBox3.Value
TextBox3.Visible = CheckBox3.Value
End Sub
Sub Item_Open()
Set Text3 = Item.GetInspector.ModifiedFormPages.Item("Message".Controls("Text3"
Set TextBox3 = Item.GetInspector.ModifiedFormPages.Item("Message".Controls("TextBox3"
Set CheckBox3 = Item.GetInspector.ModifiedFormPages.Item("Message".Controls("CheckBox3"
End Sub
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.