Are you sure those previous code chunks with ‘by ref’ are macros and not functions or custom events?
( Excuse me if I have that wrong :-/ ).
Just asking because I can’t understand how a macro can manage ‘by ref’ because it’s basically just a text substitution…