K
Kryer
I am trying to set it so that I have a userform that when a checkbox is
clicked a textbox field will start. I have tried the set (obj) style, i have
tried the item.userproperities and i cannot get it to work. currently this is
what i have
Sub Item_CustomPropertyChange(ByVal Name)
Select Case Name
case "OPTD"
If Item.UserProperties("OPTD") = True Then 'CHECKBOX
Item.UserProperties("REASON").Visible = True 'TEXTBOX1
Item.UserProperties("CONFIRMATION").Visible = True 'TEXTBOX2
elseIf Item.UserProperties("OPTD") = False Then
Item.UserProperties("REASON").Visible = False
Item.UserProperties("CONFIRMATION").Visible = False
end if
end select
End Sub
I keep getting this error:
Object doesnt support this property or method: "Visible"
Line No:5
and also this error message:
Object doesnt support this property or method:
Item.UserProperties(...).Visible
Line No:8
Any help here please
clicked a textbox field will start. I have tried the set (obj) style, i have
tried the item.userproperities and i cannot get it to work. currently this is
what i have
Sub Item_CustomPropertyChange(ByVal Name)
Select Case Name
case "OPTD"
If Item.UserProperties("OPTD") = True Then 'CHECKBOX
Item.UserProperties("REASON").Visible = True 'TEXTBOX1
Item.UserProperties("CONFIRMATION").Visible = True 'TEXTBOX2
elseIf Item.UserProperties("OPTD") = False Then
Item.UserProperties("REASON").Visible = False
Item.UserProperties("CONFIRMATION").Visible = False
end if
end select
End Sub
I keep getting this error:
Object doesnt support this property or method: "Visible"
Line No:5
and also this error message:
Object doesnt support this property or method:
Item.UserProperties(...).Visible
Line No:8
Any help here please