I have noticed an oddity when passing argument ByRef in a function when not using the return value. Take this example:
It print 15, as expected. Now remove the assignement when calling Triple:Please Login or Register to view this content.
To my surprise, it prints 5. Why this behavior? Is it documented somewhere? (I am on Excel 2016).Please Login or Register to view this content.
Bookmarks