Hi,

I'm trying to create a macro that will create new variables in the editor. 

I can set properties such as net address & offset, but if I try to set the reaction matrix this way I get a runtime 438 "object doesnt support this property or method".

The help file gives me the name of 'rema' for the reaction property to use in VBA, but I cant find any examples of what the syntax should be.

Code:
Set zenonVar = NewVariable("NewVar", zenonDriver, tpDriverVariable, "BOOL")
    zenonVar.Offset = 123
    zenonVar.NetAddr = 1
    zenonVar.Rema = "rema1"
Can anyone give me an example of how to set this?