Header Place, Caption

Header is used to assign a caption to the selected place of the header in Custom reports.

 

This procedure has two parameters:
Place   The place of the header in the report, it begins at 1, add as many headers as you need.
Caption   Enter the caption to display on the header in the final report. Use " " to delimit the string.

 

Example:

' This is a report
Sub Main()
  Header 1, "Last Close"
  Header 2, "Percent difference last day"

  ClP = Close(Last)
  ClP1 = Close(Last - 1)
  TakeThisStock
  DiffPer = Variation(ClP, ClP1)
  PutInGrid 1, ClP
  PutInGrid 2, DiffPer
End Sub