Let's see if i can explain this well.
At Excel, I got on my worksheet a Named Range that is like this:
Refers To: =Sumários!$B$12;Sumários!$B$19;Sumários!$B$26;Sumários!$B$33;Sumários!$B$40
When i do:
var sessoes = wb.Worksheet("Sumários").Range("SessoesPresenca");
It gives me the error at that line:
Sequence contains no matching element
An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.InvalidOperationException: Sequence contains no matching element
Thanks for the help.