D
David
I have the following code:
Function Item_Open()
Item.UserProperties("MyVar") = "Some text"
End Function
Sub Button1_Click()
msgbox Item.UserProperties("MyVar")
End Sub
I get the "Object variable not set" message when i click the button. I cant
see my MyVar is not set since I know the Open function is getting called.
Function Item_Open()
Item.UserProperties("MyVar") = "Some text"
End Function
Sub Button1_Click()
msgbox Item.UserProperties("MyVar")
End Sub
I get the "Object variable not set" message when i click the button. I cant
see my MyVar is not set since I know the Open function is getting called.