Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Sub Main()
Dim objPPRep as Object
Dim objRepPrt as Object
Set objPPRep = GetObject(,"CognosPowerPlay.Report")
Set objRepPrt = objPPRep.Print()
With objRepPrt
.PrintAllCharts = False
.SetListOfRowsToPrint objPPrep.Rows
.SetListOfLayersToPrint objPPRep.Layers
.SetChartToPrint objPPRep.Graphs.Item(1)
.IncludeLegend = False
.ChartTitleOnAllPages = True
.SummariesOnAllPages = True
.AxisOnAllPages = True
.Collate = True
.Copies = 1
.FitToPage = True
.PrintOut
End With
Set objRepPrt = Nothing
Set objPPRep = Nothing
End Sub