ExcelBanter

ExcelBanter (https://www.excelbanter.com/)
-   Excel Programming (https://www.excelbanter.com/excel-programming/)
-   -   ReDim an array (https://www.excelbanter.com/excel-programming/378494-redim-array.html)

Nader

ReDim an array
 
Hello,

I've got an array which is 3 dimensions "tmpArray(0 To 10, 0 To 0, 0 To 0)"
and because of that I can affect directy put the result into cells in excel
using the function Range like that

ActiveSheet.Range( Cells(1,1), Cells(11,1) ) = tmpArray

is there a way to transform my 3 dimension array to one with 2 dimension or
even better an array with 1 dimension.

thanks in advance.

Nader



NickHK

ReDim an array
 
Nader,
Check out Alan Beban's array functions at
http://home.pacbell.net/beban/

NickHK

"Nader" wrote in message
...
Hello,

I've got an array which is 3 dimensions "tmpArray(0 To 10, 0 To 0, 0 To

0)"
and because of that I can affect directy put the result into cells in

excel
using the function Range like that

ActiveSheet.Range( Cells(1,1), Cells(11,1) ) = tmpArray

is there a way to transform my 3 dimension array to one with 2 dimension

or
even better an array with 1 dimension.

thanks in advance.

Nader






All times are GMT +1. The time now is 10:27 AM.

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