If arrays are returned by reference, why doesn\'t the following work:
\'Class1 class module
Private v() As Double
Public Property Get Vec() As Double()
V
In VBA, arrays are never returned by reference unless they are returned through a ByRef parameter. Furthermore, whenever you use = to assign an array to a variable, you've made a new copy of the array, even if you're assigning it to a ByRef argument inside of a procedure, so you're pretty much out of luck trying to make this work.
Some alternative are...