DIAdem

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing REPORT sheet in a Script

Solved!
Go to solution

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.

0 Kudos
Message 1 of 4
(5,401 Views)
Solution
Accepted by topic author RyanAsensio

Try changing the variable "GraphSheetCurrNo", it's the active sheet.

Message 2 of 4
(5,379 Views)

Yes this works. Thanks! Also, GrpahSheetRefSet.

0 Kudos
Message 3 of 4
(5,373 Views)

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

Message 4 of 4
(5,327 Views)