I narrowed it don't to this:
Does anyone know why or how to solve this? thanks
ps: I use the "test2" to print all variables to debug my code.
Code:
Function test(oRange) [COLOR=#008000]'called by A1: =test(B1)[/COLOR]
test2 oRange [COLOR=#008000]'this works[/COLOR]
Stop [COLOR=#008000] 'BUG: "test2 oRange" in the Immediate window while here in debugmode gives: "Run-time error '51': Internal error"[/COLOR]
End Function
Function test2(ParamArray xAllThis())
Debug.Print "ok"
End Function
ps: I use the "test2" to print all variables to debug my code.