In this post, you’ll learn about the error message “InvalidSheetName – The worksheet that you requested does not exist in the workbook.” that you usually receive when working eith the Excel Services in SharePoint.
When working with SharePoint Excel Services, there are error codes that are generated in the SOAP exception when the errors occur in the Excel Services. You can use the SubCode property that is available in the SoapException class to identity these error codes and troubleshoot the issue.
InvalidSheetName – The worksheet that you requested does not exist in the workbook.
Reason for the Error
The sheet name was not found or was invalid.
Use a valid value for the name of the sheet.