Pergunta

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

How do you determine which sheet this is when you open a workbook using EPPlus?

Foi útil?

Solução

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

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

Licenciado em: CC-BY-SA com atribuição
Não afiliado a StackOverflow
scroll top