Domanda

I am using the Spreadsheet gear component and need to select all cells in a worksheet so I can apply a consistent font setting across. How do you create an IRange that represents an entire worksheet?

È stato utile?

Soluzione

IWorksheet.Cells represents all cells in a worksheet:

workbook.Worksheets["Sheet1"].Cells.Font.Color = SpreadsheetGear.Colors.Yellow;

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top