Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hi everyone,
In the macro I've already produced so far, which works except for this here little part, a variant array is filled with absolute cell adresses. When the macro is finished doing the bulk of the work, a range needs to be selected consisting of all the cells gathered in the CellAdresses array. This doesn't work: Range(CelAdresses).Select, obviously (I tried it anyway, just to see what I already knew), because the array is Dimmed as a variant. Switching the Dim statement to make it into a range array also causes a runtime error. How can I use the CellAdresses array with its contents to get the selection of separate cells I want? Does the array need to be converted into a range array, if yes, How ? Regards, Peter |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Array formula: how to join 2 ranges together to form one array? | Excel Worksheet Functions | |||
Use named ranges in array formula | Excel Worksheet Functions | |||
meaning of : IF(Switch; Average(array A, array B); array A) | Excel Worksheet Functions | |||
Array of page ranges | Excel Programming | |||
[excel 97 vba ] Reading ranges into an array | Excel Programming |