Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)
If theattribute is set to false, methods and properties in Excel that expect a Microsoft.Office.Interop.Excel.Worksheet passed as an will throw an if you pass in a Worksheet. In this case, you can use the InnerObject property to pass the underlying native object to these methods and properties.
The InnerObject property returns a Microsoft.Office.Interop.Excel.Worksheet that passes the locale ID (LCID) 1033 (English, United States) to Microsoft Office Excel for all locale-sensitive calls to the Excel object model if the ExcelLocale1033Attribute attribute is set to true. To get a Microsoft.Office.Interop.Excel.Worksheet that passes the locale ID (LCID) of the current thread to Microsoft Office Excel, use the staticmethod of the class. For more information about localization issues in Excel, see .