AnsweredAssumed Answered

ProcessBook VBA Question

Question asked by schutcw on Sep 2, 2013
Latest reply on Sep 5, 2013 by mariamp

Hello,

 

I am currently working with VBA in ProcessBook. My straightforward question is whether it is possible to iterate over elements in AF through VBA in ProcessBook. The only way I know to do this is to create a Dataset in PB that can map to an AF element and the dataset can then be read in VBA. I believe a dataset is limited to one tag and it is impractical to create a few hundred datasets.

 

Is there a way to set up a dataset with multiple tags?

 

Or, is there a way to connect PB VBA to AF?

 

The reason for my question is as follows:

 

I am trying to create a script that looks at a few hundred tags and then displays the top five values in a comboBox in a PB display. The user can then select an item from the combo box which will link to a new display and show more process information. If I cannot access AF from PB VBA, any suggestions on a better way?

 

Thanks you very much for your time and feedback!

Outcomes