ExcelLocale1033Attribute Class

Specifies whether to pass the locale ID (LCID) 1033 to Microsoft Office Excel for all culture-sensitive calls to the Excel object model, regardless of the locale settings defined for the computer.

Namespace:  Microsoft.Office.Tools.Excel
Assembly:  Microsoft.Office.Tools.Common.v9.0 (in Microsoft.Office.Tools.Common.v9.0.dll)


<AttributeUsageAttribute(AttributeTargets.Assembly)> _
Public NotInheritable Class ExcelLocale1033Attribute _
    Inherits Attribute
Dim instance As ExcelLocale1033Attribute
public sealed class ExcelLocale1033Attribute : Attribute


LCID 1033 is English (United States). All data that is formatted differently in different cultures, such as dates and currency, must use United States formatting when it is passed using this LCID.

ExcelLocale1033Attribute is an assembly-level attribute.

For more information about using attributes, see Extending Metadata Using Attributes.

Inheritance Hierarchy


Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also


ExcelLocale1033Attribute Members

Microsoft.Office.Tools.Excel Namespace

Other Resources

Formatting Data in Excel with Various Regional Settings

Extending Metadata Using Attributes