LoadReport

<< Click to Display Table of Contents >>

 

LoadReport

LoadReport(ReportName)

Loads a Report template. The ReportName parameter is the name of a Report to load. The next code contains a usage example of this method.

Sub Rect_Click()
  ' Loading a pre-defined report
  Set strRep = Application.LoadReport("[Report3]")
  strRep.PrintPreview ' Previewing print
End Sub

Was this page useful?