Hi all!
From within C# I'm trying to read data from an Excel sheet into an C# object.
Everything works fine except one small detail, Excel data from drop down lists.
Somehow the result in the array is null for every corresponding Excel drop down list entry.
My code so far below:
var range = sheet.get_Range("A1", "D3");
var valuearray = (Object[,])range.get_Value(XlRangeValueDataType.xlRangeValueDefault);
As long as the cell data isn't originating from an Excel drop down list valuearray get the correct values. But as soon as the data comes from a drop down list the valuearray entry is null.
Appreciate any input, Danne :-)