User Types cannot be declared Public... How do i get around this?
I am using VBA on a FactoryTalk View Platform. 'tag' object is a datatype that allows the creation of a tag that i can direct reference to a PLC (Industrial controller). I can declare a single tag as public, but not a user type array i've declared on a module. I could public declare like, 200+ tags i suppose, just sounds like too much work. I have to '.add' them and then 'set' to address before i can change values. The array is large enough that i do this through looping. If i can declare it public i can access it from other areas. Help...
I am using VBA on a FactoryTalk View Platform. 'tag' object is a datatype that allows the creation of a tag that i can direct reference to a PLC (Industrial controller). I can declare a single tag as public, but not a user type array i've declared on a module. I could public declare like, 200+ tags i suppose, just sounds like too much work. I have to '.add' them and then 'set' to address before i can change values. The array is large enough that i do this through looping. If i can declare it public i can access it from other areas. Help...