Cast Dictionary.Values?

Can I easily cast an array of variants from Dictionary.Values?

For example

MyVariant() = myDictionary.Values // Works

But if the dictionary has a bunch of custom objects, I can’t

dim myObject() as MyCustomClass myObject() = myDictionary.Values // Invalid myObject() = MyCustomClass(myDictionary.Values) // Bad cast

Am I missing an obvious way to cast an array of variants?

No, you can’t cast an array of Variant into something else. (Well, you could ultimately cast it into an array of object going through an Auto, but that’s not going to help you.). Cast each element into a new array instead.