ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   [column(101:200)] confusing (https://www.excelbanter.com/excel-programming/386948-%5Bcolumn-101-200-%5D-confusing.html)

clara

[column(101:200)] confusing
 
Hi all,

[Row(101:200)] will produce two dimension array, 100 rows and 1 column,
containg values from101 to 200. How about [column(101:200)]?

Clara
--
thank you so much for your help

Dave Peterson

[column(101:200)] confusing
 
Are you trying to pick up a 65536 row x 100 column array:

Dim a As Variant
a = Columns(101).Resize(, 100).Value

(in xl2007, this is 1MB rows)

clara wrote:

Hi all,

[Row(101:200)] will produce two dimension array, 100 rows and 1 column,
containg values from101 to 200. How about [column(101:200)]?

Clara
--
thank you so much for your help


--

Dave Peterson

JLGWhiz

[column(101:200)] confusing
 
Same thing except:

column(101:200)

produces 1 row, 100 columns

One goes vertical, the other horizontal.

"clara" wrote:

Hi all,

[Row(101:200)] will produce two dimension array, 100 rows and 1 column,
containg values from101 to 200. How about [column(101:200)]?

Clara
--
thank you so much for your help



All times are GMT +1. The time now is 07:06 AM.

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