I have a class with, let's say, 5 properties and same amount of functions that return regular data types. I have prepared a class factory that takes all of them (properties) and returns an object. I'm wondering if it is possible to pass these properties using the class factory directly from the sheet and later use such created instance as an argument to other UDFs that require that class.
=someFunction(Factory(1,2,3,4,5))