This read-only property returns the number of Custom Reports defined for the current measurement routine.
Visual Basic |
---|
Public Property CustomReportCount As Long |
Read-only Long value representing the number of custom reports created for the current measurement routine.
Sub Main
Dim App As Object
Dim PartProg As Object
Dim RepWin As Object
Set App = CreateObject("Pcdlrn.Application")
Set PartProg = App.ActivePartProgram
Set RepWin = PartProg.ReportWindow
' Displays the number of custom reports
MsgBox "This measurement routine uses " & RepWin.CustomReportCount & " custom reports."
End Sub