Range.HorizontalAlignment Property

Returns or sets the horizontal alignment for the specified object.

Namespace:  Microsoft.Office.Interop.Excel
Assembly:  Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)

Syntax

'Declaration
Property HorizontalAlignment As Object
    Get
    Set
'Usage
Dim instance As Range
Dim value As Object

value = instance.HorizontalAlignment

instance.HorizontalAlignment = value
Object HorizontalAlignment { get; set; }

Property Value

Type: System.Object

See Also

Reference

Range Interface

Range Members

Microsoft.Office.Interop.Excel Namespace