This content has been marked as final. Show 4 replies
Can anyone advise how to make selections using API via VB?
To date I have the below to open a file, refresh it, select the LIstbox i want to make the selection in but i cant get the IArrayOfRect Add methdo to work?? I can get it to Select all but i would like to eb able to specify a single select.
Dim QvApp As New QlikView.Application
Dim QVDoc As New QlikView.Document
QVDoc = QvApp.OpenDoc("C:\pgrp.qvw")
Dim sel As QlikView.ListBox
sel = QVDoc.GetSheetObject("LB02")
Dim pband As QlikView.IArrayOfRect