PutInGrid Place, Caption

PutInGrid is used to assign a value to the selected place in the report. Note that if TakeThisStock was not executed PutInGrid will do nothing.

 

This procedure has two parameters:
Place   The place of the value in the report, it begins at 1.
Caption   Enter the value to display on the final report.

 

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