Hi Matthias,
Welcome to the forum.
You need to add 2 references to your VBA project:
- PISDK Type Library
- PISDK Dialogs
Then you can call the Tag Search and retrieve a PISDK.PointList object.
For example:
Code:
Private PList as PISDK.PointList
Private Sub CallTagSearch()
Set PList = PISDKDlg.TagSearch.Show()
Debug.Print "Number of tags selected = " & PList.Count
End Sub
The PointList object is a collection of PIPoint objects.
Enjoy!
Rhys.
OSIsoft PI System SpecialistsPI consultancy on PI Systems, PISDK, AFSDK, OLEDB etc and PI custom developments. Well pretty much anything to do with PI!