IRange.AutoFormat Method
Namespace: Microsoft.Office.Interop.Excel
Assembly: Microsoft.Office.Interop.Excel (in Microsoft.Office.Interop.Excel.dll)
Syntax
'Declaration
Function AutoFormat ( _
Format As XlRangeAutoFormat, _
Number As Object, _
Font As Object, _
Alignment As Object, _
Border As Object, _
Pattern As Object, _
Width As Object _
) As Object
'Usage
Dim instance As IRange
Dim Format As XlRangeAutoFormat
Dim Number As Object
Dim Font As Object
Dim Alignment As Object
Dim Border As Object
Dim Pattern As Object
Dim Width As Object
Dim returnValue As Object
returnValue = instance.AutoFormat(Format, _
Number, Font, Alignment, Border, Pattern, _
Width)
Object AutoFormat(
XlRangeAutoFormat Format,
Object Number,
Object Font,
Object Alignment,
Object Border,
Object Pattern,
Object Width
)
Parameters
- Format
Type: Microsoft.Office.Interop.Excel.XlRangeAutoFormat
- Number
Type: System.Object
- Font
Type: System.Object
- Alignment
Type: System.Object
- Border
Type: System.Object
- Pattern
Type: System.Object
- Width
Type: System.Object
Return Value
Type: System.Object