如何给Excel的字体worksheet.Cells.Font.Color赋值,
worksheet.Cells.Font.Color = "Blue";
worksheet.Cells.Font.Color = System.Drawing.color.Blue;
worksheet.Cells.Font.Color = "#EFEFEF";
以上三种方法都不可以,请问应该怎样赋值?急!~~~~
worksheet.Cells.Font.Color = "Blue";
worksheet.Cells.Font.Color = System.Drawing.color.Blue;
worksheet.Cells.Font.Color = "#EFEFEF";
以上三种方法都不可以,请问应该怎样赋值?急!~~~~
xlSheet.Range(xlSheet.Cells(1, 1), xlSheet.Cells(1, colIndex)).Interior.Color = 77777700 '设置表头颜色