B
Bob
Hi everyone:
I am writing a VBA code as a function in excel. The function has two
arguments, Arg1 which is the input to the function, and Arg2 which is an
output from the function along with the function name. In excel, I call the
function in the formula bar as:
=MyFunct(Arg1, Arg2)
Now, in the cell that contains the function, the value of the function is
returned. However, I was wondering if there is any way of also getting the
output value from Arg2. Of course, one way is to have the user send in a
cell number, and inside the function to return that value. But, I was
wondering may be there is a better way.
I appreciate all your help.
Bob
I am writing a VBA code as a function in excel. The function has two
arguments, Arg1 which is the input to the function, and Arg2 which is an
output from the function along with the function name. In excel, I call the
function in the formula bar as:
=MyFunct(Arg1, Arg2)
Now, in the cell that contains the function, the value of the function is
returned. However, I was wondering if there is any way of also getting the
output value from Arg2. Of course, one way is to have the user send in a
cell number, and inside the function to return that value. But, I was
wondering may be there is a better way.
I appreciate all your help.
Bob