I am declaring a UDT in a module. I am also declaring a 2 arrays of the UDT in the same module. So both the UDT and the UDT arrays are public scope ( and declared as such).
I want to operate on either array using a single subroutine and so I am passing each array into the procedure using Byref, but I am getting the "Byref Argument type mismatch" error. Even though in the target subroutine I am setting the argument type to that of the UDT type. :(
I don't want to use classes to get around this if I can help it. Can anyone shed some light on this for me please?
