How to determine the last viewed worksheet ("ActiveSheet") in EPPlus

When you open a workbook in Excel, it shows you the worksheet that you looked at when you last saved it.

How do you determine which sheet it is when you open a book using EPPlus?

+4
source share
1 answer

ExcelWorksheet activeSheet = Workbook.Worksheets.FirstOrDefault(f => f.View.TabSelected);

https://epplus.codeplex.com/discussions/456307

+4
source

Source: https://habr.com/ru/post/1500080/


All Articles