PivotTable Selection How To


2003-08-08 04:48:08 PM
delphi151
Hi all,
I use Microsoft's PivotTable component (OWC10) as an OCX in a Delphi
application.
Now I need to programmatically select some dimension members and can not
figure out
how to do it.
The PivotTable has a select method that takes an IDispatch parameter for the
selection
and the ActiveObject.
procedure TPivotTable.Select(const Selection: IDispatch; const ActiveObject:
IDispatch;
ScrollType: PivotScrollTypeEnum; Update:
WordBool; Notify: WordBool);
Has anybody used this method and can give me a hint how to get the IDispatch
parameters?
TIA
Tom