> Hello all.
>
[quoted text clipped - 47 lines]
>
> James
Thanks for the RAPID response. If I want to add the treeview by VBA, how do
I call the treeview? I have tried with
set myTreeview = ppslide.shapes.addOLEObject(Left:=65.125,
Top:=145.25,Width:=243.875,Height:=289.125,
ClassName:="MSComctlLib.TreeCtrl.2", Link:=msoFalse)
but I then have trouble applying the required properties to the nodes.
myTreeview is declared publicly as MSComctlLib.TreeView. is this were I am
going wrong? I keep getting type mismatch errors.
Thanks,
James
> Hi James,
> You *can* insert a treeview control on the master slide and you can interact
[quoted text clipped - 60 lines]
> >
> > James
Shyam Pillai - 28 Sep 2006 16:54 GMT
Change it to:
Set myTreeview = ppslide.shapes.addOLEObject(Left:=65.125,
Top:=145.25,Width:=243.875,Height:=289.125,
ClassName:="MSComctlLib.TreeCtrl.2",
Link:=msoFalse).OLEFormat.Object

Signature
Regards,
Shyam Pillai
Toolbox
http://skp.mvps.org/toolbox
> Thanks for the RAPID response. If I want to add the treeview by VBA, how
> do
[quoted text clipped - 90 lines]
>> >
>> > James