Using VBA to Return a List of Valid Field Options

About this task

Use VBA to determine which fields are available for an SDK object.

Procedure

  1. Open Microsoft Visual Basic for Applications (VBA).
  2. Ensure that you have selected the Historian Software Kit reference in the References window.
  3. Select the Object Browser from the View menu.
  4. Select Historian_SDK from the Library drop-down list.
  5. 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.