Hi,

I want to access the visibility variable of a button inside a simbol, but i always get a "Object doesn´t support this porperty or method" error.

I have created a simbol with a text and a button. 
In the button, the visibility button is set to "from variable", and the visibility variable prperty is set to "myStruct.Visibility".

there is a a vba macro linked to the LeftClickDown event from the button and i have this code in the macro:
Code:
Dim varit As Variable
Set varit = obElem.VisibilityVariable
At this point is where i get the error.

In the documentation is estated as available from VBA, and in the vba editor it can be chosen from the list to complete a sentence.

What am i doing wrong?

Thank you