Home |
Search |
Today's Posts |
|
#1
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Sory folks,
Thanks for your responses, all useful The original code is OK but for my silly mistake with rng2 twice Should have been MyVar = union(Range("rng1"),range("rng2")) I've pressed all the 'Yes' buttons Cheers "David" wrote: Hi I've tried: dim myVar as variant MyVar = union(Range("rng2"),range("rng2")).value but no joy so far I'm just getting rng1 in the variant array Both rng1 and rng2 are 12 x 1 ranges Any ideas? Thanks |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
union array | Excel Programming | |||
Array problem: Key words-Variant Array, single-element, type mismatch error | Excel Programming | |||
Array problem: Key words-Variant Array, single-element, type mismatch error | Excel Programming | |||
ReDim Object array as parameter of Variant array | Excel Programming | |||
variant array containing cel adresses convert to actual ranges-array | Excel Programming |