For two-dimensional array:
myArray2D = DirectCast(myObject, String(,))
For i = 0 To myArray2D.GetLength(0) - 1
For j = 0 To myArray2D.GetLength(1) - 1
Log Message: myArray2D(i, j)
Next
Next
For one-dimensional array:
myArray1D = DirectCast(myObject, String())
For Each item In myArray1D
Log Message: item
Next
Ensure VBA returns the correct array type.