Using VBA to Return a List of Valid Field Options
About this task
Procedure
- Open Microsoft Visual Basic for Applications (VBA).
- Ensure that you have selected the Historian Software Kit reference in the References window.
- Select the Object Browser from the View menu.
- Select Historian_SDK from the Library drop-down list.
- Select an item in the Classes list to generate a list of valid fields for that item. when you select ihCollectionType, you see a list of fields that includes Polled and Unsolicited.