Llarian1981
Technical User
I am writing a user defined function in exel. I need the user to input the range of cells which contain the data the function will use. If I run my function in exel, I give the input range by writing something like A1:B5. The function interprets this input as the data the cells in the range contain, not as the range itself (instead of A1:B5 the argument contains {1,2,3,...}. I don't want to enter the range as "A1:B5" (then the function works!), because I would like to have the possibility to enter the range by selecting it in the worksheet, as you can do within pre-defined exel functions. How can I change the way the function interprets the input?
Thanks for your help, Llarian1981
Thanks for your help, Llarian1981