J
Joe Adams
I am trying to create a single linear array with the
values from multiple ranges. The sub-routine I have
written uses an Application.InputBox to enter the various
ranges (such as $J10:$K22,$L:$L,M22:O22,P12). This
approach works fine if all the data is on one worksheet,
but if I try to enter a range from a second worksheet, I
receive a message stating "The reference you typed is not
valid. ..." Is there some way to enter data from a second
or third worksheet?
I know this can be done with the ParamArray keyword in a
function, but then how would I pass the array back to the
sub-routine.
I am using Excel 2000. Thanks for your help
Joe
values from multiple ranges. The sub-routine I have
written uses an Application.InputBox to enter the various
ranges (such as $J10:$K22,$L:$L,M22:O22,P12). This
approach works fine if all the data is on one worksheet,
but if I try to enter a range from a second worksheet, I
receive a message stating "The reference you typed is not
valid. ..." Is there some way to enter data from a second
or third worksheet?
I know this can be done with the ParamArray keyword in a
function, but then how would I pass the array back to the
sub-routine.
I am using Excel 2000. Thanks for your help
Joe