SetStyleFormat(Int32,Int32,Int32,Int32,StyleFormat) Method
In This Topic
Sets the style format for the specified cell range on this worksheet.
Syntax
'Declaration
Public Overloads Sub SetStyleFormat( _
ByVal As Integer, _
ByVal column As Integer, _
ByVal As Integer, _
ByVal column2 As Integer, _
ByVal As StyleFormat _
)
'Usage
Dim instance As Worksheet
Dim row As Integer
Dim column As Integer
Dim row2 As Integer
Dim column2 As Integer
Dim styleFormat As StyleFormat
instance.SetStyleFormat(row, column, row2, column2, styleFormat)
public void SetStyleFormat(
int ,
int column,
int ,
int column2,
StyleFormat
)
Parameters
- row
- An integer value indicates the top row index of cell range.
- column
- An integer value indicates the left column index of cell range.
- row2
- An integer value indicates the bottom row index of cell range.
- column2
- An integer value indicates the right column index of cell range.
- styleFormat
- A StyleFormat value indicates the style format to set.
See Also