Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Dim MyArray1 as Variant
MyArray1 = Range("A1:A3").Value Myarray1 now holds a 1 to3,1 to 1 two dimensional array. (regardless of Option Base) Regards, Tom Ogilvy Yogesh wrote in message ... HI , The following code works fine : 'eg. of array being assigned to a range object .Range("A1:A2").Value = MyArray 'just wanted to know whether the reverse is possible ' i.e. something like --- ' MyArray1 = .Range("A1:A3") 'This not working with VBA Thanks, Yogesh |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
2 Label Options - Forms Object vs Control Box Object | Excel Discussion (Misc queries) | |||
Working with the range object | Excel Discussion (Misc queries) | |||
Working with the range object | Excel Discussion (Misc queries) | |||
Object Variable Not Set Error on Selection object | Excel Worksheet Functions | |||
Range object without blank cells | Excel Discussion (Misc queries) |