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?
Asked
Active
Viewed 1,105 times
1 Answers
2
IWorksheet.Cells represents all cells in a worksheet:
workbook.Worksheets["Sheet1"].Cells.Font.Color = SpreadsheetGear.Colors.Yellow;

Tim Andersen
- 3,014
- 1
- 15
- 11
-
Right, duh. Should have realized Cells is an IRange as well. – John Livermore May 10 '13 at 17:37