Ok, I lost a reference.
500 points to the one who can find it.
my code lines are:
xlApp.Cells[rowIndex, i + 1].Interior.Color = ColorTranslator.ToOle(Colo
xlApp.Cells[rowIndex, i + 1].NumberFormat = "@";
both Interior and NumberFormat were working yesterday, but now they are giving me the error:
Error 1 'object' does not contain a definition for 'Interior' and no extension method 'Interior' accepting a first argument of type 'object' could be found (are you missing a using directive or an assembly reference?) C:\Users\Evan\documents\vi
sual studio 2012\Projects\DAT2MSSQL2XL
S.cs 64 46 DAT2MSSQL2XLS
I am using .NET 3.5
Here's my page references:
using Excel = Microsoft.Office.Interop.E
Here's my project references:
I think I lost a reference somewhere, and I don't know which one.
xcel is Version 12.