ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Worksheet Functions (https://www.excelbanter.com/excel-worksheet-functions/)
-   -   Arrays - Horizontal or Vertical (https://www.excelbanter.com/excel-worksheet-functions/58784-arrays-horizontal-vertical.html)

fullers80

Arrays - Horizontal or Vertical
 
I am writing a function that asks the user to input a range.

At the moment I have it set up so that the range has to be in a row. The
formula then goes off and does something with the values one by one along the
array until it reaches the last one.

Is there a code I could put in so that it would not matter whether the user
made the array horizontal or vertical?

Thanks

tony h

Arrays - Horizontal or Vertical
 

What is the code you are using and how do they input a range


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=490733


fullers80

Arrays - Horizontal or Vertical
 
It's ok I figured it out.

"tony h" wrote:


What is the code you are using and how do they input a range


--
tony h
------------------------------------------------------------------------
tony h's Profile: http://www.excelforum.com/member.php...o&userid=21074
View this thread: http://www.excelforum.com/showthread...hreadid=490733




All times are GMT +1. The time now is 04:57 PM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
ExcelBanter.com