Assembly: Microsoft.Office.Tools.Excel (in microsoft.office.tools.excel.dll)
By default, native Excel objects (that is, instances of types that are defined in thenamespace) in Microsoft Visual Studio 2005 Tools for the Microsoft Office System projects pass locale ID 1033 (English, United States) to Excel for all locale-sensitive calls to the Excel object model, regardless of the locale settings of the computer. The ExcelLocale1033Proxy class provides two methods you can use to modify the locale ID behavior for individual Excel objects. If you want to modify an Excel object so that it uses the locale ID of the current thread instead of locale ID 1033, call the method. After you call Unwrap to modify an Excel object, you might want to use the object again, but in a situation where you want to use locale ID 1033 instead of the locale ID of the current thread. Call the method to modify the Excel object so that it uses locale ID 1033 instead of the locale ID of the current thread.
To change the default locale ID behavior for all native Excel objects in Visual Studio Tools for Office projects, use theattribute. By default, this attribute is set to true, which specifies that native Excel objects pass locale ID 1033 to Excel for all locale-sensitive calls to the Excel object model. If the ExcelLocale1033Attribute attribute is false, native Excel objects pass the locale ID of the current thread.
For more information about localization issues in Excel, seeand .