How to get range in EPPlus
问题 Does anyone know how to execute the following in EPPlus. The following is the way when using VSTO. I'm trying to get some specific ranges from a worksheet. sheet.get_Range("7:9,12:12,14:14", Type.Missing) 回答1: You can use this ExcelPackage pck = new ExcelPackage() var ws = pck.Workbook.Worksheets.Add("Sheet1"); ExcelRange cells = ws.Cells[1, 1, 1, 10];//get 10 cells in row 1 回答2: I am not fully familiar with `get_Range' but based on the documention it works just like the cells object of