07-18-2012 02:04 PM
Is there any way to change the current sheet in REPORT, using a script?
I have 9 sheets in REPORT, each with different charts on them and am trying to update x-axis minimum and maximum values for all 9 sheets. This is part of an automated data-reporting process.
I am confused, because if I record the process of changing a parameter on sheet 1, and then on sheet 2, it applies the changes, sequentially, to only sheet 1. There is nothing in the script to tell DIAdem to switch the current sheet.
Any help would be greatly appreciated.
Solved! Go to Solution.
07-20-2012 05:22 AM
Try changing the variable "GraphSheetCurrNo", it's the active sheet.
07-20-2012 10:30 AM
Yes this works. Thanks! Also, GrpahSheetRefSet.
07-30-2012 11:47 AM
Hi All,
For DIAdem versions 2012 and beyond, you have the option to address the REPORT panel with a new "Report" object, so changing the active REPORT sheet to the 5th one would look like this:
Call Report.Sheets(5).Activate
Brad Turpin
DIAdem Product Support Engineer
National Instruments