How Do I Set the Active Worksheet in DIAdem Report?Primary Software: DIAdemPrimary Software Version: 9.1 Primary Software Fixed Version: N/A Secondary Software: N/A
Problem: I have a report with multiple sheets and I want to programmatically access objects on different worksheets. How do I programmatically set the active worksheet in DIAdem Report? Solution: You can use the GraphSheetRefSet function to set the active sheet in DIAdem Report. Attached to this KB is a sample report template and script that uses the GraphSheetRefSet function to change the line width of plots on two different sheets. In order for the template to work correctly you need to have the EXAMPLE.tdm dataset loaded. This file is located at the following path: C:\Program Files\National Instruments\DIAdem 9.1\Libr\Dat. This path will vary depending on where you installed DIAdem. Please refer to the article "Command: GraphSheetRefSet" in the DIAdem help for more information on the GraphSheetRefSet function. Related Links: Attachments:
Report Date: 10/11/2004 Last Updated: 10/11/2004 Document ID: 3EAECRE6 |
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
