In This Topic
Specifies the range of rows or/and columns to use as print titles for this worksheet. (Print titles are rows repeated at top, and columns repeated at left of each page when the sheet is printed.)
Syntax
'Declaration
Public Sub SetRangeToRepeat( _
ByVal As System.Integer, _
ByVal As System.Integer, _
Optional ByVal As System.Integer, _
Optional ByVal As System.Integer _
)
public void SetRangeToRepeat(
System.int ,
System.int ,
System.int ,
System.int
)
Parameters
- rowFrom
- Index of the first title row (repeated at top).
- rowTo
- Index of the last title row (repeated at top).
- colFrom
- Index of the first title column (repeated at left).
- colTo
- Index of the last title column (repeated at left).
See Also