The value property of a range object in excel has the
ability to return an array of values. While it works fine
in VB or VBA, I cannot get the following code to work in
a vbs file.
Dim aryData()
Set oRange = oExcel.Range("A5").CurrentRegion
aryData = oRange.Value
I get the error
Microsoft VBScript runtime error: Type mismatch
Any thoughts?