I have a userform that I would like to select a Unit from the combobox and have it do a PI Tag Search. Then I would like it to display the information on an excel spreadsheet for modifications. Once the modifications have been done, I would then like to publish the tag modifications. Is this possible?
Here is the code snippet that I am currently using to be able to search for the tags. I would like to have this done programmatically so that the combobox is a functioning part.
Private Sub CommandButton1_Click() Dim search As New PISDKDlg.TagSearch Dim selectedPoints As PointList Set selectedPoints = search.Show Dim point As PIPoint Dim p As Variant For Each p In selectedPoints Set point = p Debug.Print point.Name Next End Sub