Home |
Search |
Today's Posts |
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]() Hi All, Can anyone explain why these are not equal: RangeArray = Array(Range("Names").Value) MyArray = Array("Alan", "Bob", "Charles") The worksheet range name 'Names' contains three cells (A1, A2, A3) with "Alan", "Bob", and "Charles" in respectively. I am thinking that perhaps the first expression is a single element array, that contains a (sub)array with three elements, whereas the second is an array of three elements. I am getting this from examining the locals window, but I admit I don't fully understand what I am seeing there. More specifically, how do I change the first expression to evaluate exactly equal to the second? Thanks, Alan. |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Worksheet Function to Create Array of Size n with values x Through | Excel Discussion (Misc queries) | |||
Array Pasted from One Worksheet Converts Null Values to Zeros | Excel Discussion (Misc queries) | |||
efficiently copy values from a Range of cells to an array (in VB.N | Excel Programming | |||
efficiently copy values from a Range of cells to an array (in VB.N | Excel Programming | |||
Create Array From Values in range | Excel Programming |