c# - Excel: Dump cell attributes to array -


i know can dump values of excel cells array so:

object[,] values = worksheet.usedrange.value2 object[,]; 

can similar attributes of cells other values? example, i'd cell colour, object[,] cc = worksheet.usedrange.interior.color object[,]; results in cc being null.

looping through sheet cell attributes takes orders of magnitude longer.

better late never. briefly, in absence of code stub,

save sheet xml formatted file. read file in xml reader, query xml object styleid (or else want or need). query styleid's color attrbiute, , match same each cell. linq queries on xml database should need couple of lines this.


Comments

Popular posts from this blog

android - getbluetoothservice() called with no bluetoothmanagercallback -

sql - ASP.NET SqlDataSource, like on SelectCommand -

ios - Undefined symbols for architecture armv7: "_OBJC_CLASS_$_SSZipArchive" -