ReportSections.Insert
- Updated2025-07-21
- 1 minute(s) read
ReportSections.Insert
Syntax
ReportSections.Insert( index = -1, Header = "", Body = "", Footer = "")
Return Value
The ReportSection this method inserts into the collection.
Purpose
Adds a new item to the collection.
Parameters
index As Long
[In] Specifies the zero-based index at which to insert the new item. Pass -1 to insert the item at the end of the collection.
This parameter has a default value of -1 .
Header As String
[In] Specifies the ReportSection.Header property of the new ReportSection .
This parameter has a default value of "" .
Body As String
[In] Specifies the ReportSection.Body property of the new ReportSection .
This parameter has a default value of "" .
Footer As String
[In] Specifies the ReportSection.Footer property of the new ReportSection .
This parameter has a default value of "" .