Skip to content

Latest commit

 

History

History
20 lines (15 loc) · 540 Bytes

Selecting-Cells-and-Ranges.md

File metadata and controls

20 lines (15 loc) · 540 Bytes

Set the active cell

var wb = new XLWorkbook();
var wsActiveCell = wb.AddWorksheet("Set Active Cell");
wsActiveCell.Cell("B2").SetActive();

SelectCell.jpg

Select cells and ranges

var wsSelectMisc = wb.AddWorksheet("Select Misc");
wsSelectMisc.Cell("B2").Select();
wsSelectMisc.Range("D2:E2").Select();
wsSelectMisc.Ranges("C3, D4:E5").Select();

SelectRanges.jpg