Before I embark upon some coding to create a new user-defined function, I was wondering if anyone knew of any Excel function that takes as it argument a worksheet range. The result of the function is nothing more than a string showing the A1:B2 style reference of the range.
I guess it could also work across multiple ranges; or indeed across multiple sheets / workbooks?
E.g.
=MYFUNCTION(A1:C5) returns a string "A1:C5" or even "Sheet1!A1:C5"
=MYFUNCTION(A1:C5,D7:E8) returns "A1:C5,D7:E8"
and so on...
Any help very gratefully received!
I guess it could also work across multiple ranges; or indeed across multiple sheets / workbooks?
E.g.
=MYFUNCTION(A1:C5) returns a string "A1:C5" or even "Sheet1!A1:C5"
=MYFUNCTION(A1:C5,D7:E8) returns "A1:C5,D7:E8"
and so on...
Any help very gratefully received!