I'm getting an excel range to an array.
From my search it was clear I need to use object array.
object[,] saRet; oRng = oSheet.UsedRange; saRet = (System.Object[,])oRng.get_Value(Type.Missing);
This works fine, but what I really need is for that array to be string.
So how might I cast object[,] to string[,]?
I read it's a bad idea to get the range directly into string[,] you see.
If there is a way other than creating a new array and looping through it to copy, I'd love to hear it.
Thank you for taking the time to read.