I create a lot of PPTs for my own business often with a large quantity of
links to documents i.e. pdfs so that I don't have to have all the information
on the slides. Sometimes, my presentations can contain links to many
different files and folders.
I have developed a VBA based routine to automate the building of the PPTs
via MS Access like this: the user opens the db, points the a folder dialogue
to the correct directory and then it populates the db before creating a
presentation based around a master slide. It creates buttons allowing a user
to display the correct file during the slideshow and navigate to different
slides. I am very happy with this but would like to extend its functionality
with a treeview.
In theory, I would like a treeview control on each slide allowing the user
to navigate backwards, forwards and to jump to any particular file in a
similar way to the Folders pane in Windows Explorer. I would like the
treeview to be visible on all slides and the expanded nodes to reflect the
current slide and file accessed. This would eliminate the need to follow a
linear route through the slideslow.
Through research on the web, I know who to work with the TreeView in VBA and
on WinForms but I do not know how to :
a) add the treeview to the pp slide
b) make the treeview appear on every slide so that the user can always see
where in the file structure they are.
I thought that it may be a case of setting up a frame on the master slide
and then binding the treeview to the frame when the slide is activated.
As an attempt to do all this, I downloaded the VBA Controls Assistant add-in
but the treeview cannot be applied to the master slide. So this has left me
a little stumped.
If anyone has any pointers on the use of a treeview in Powerpoint in this
way, I would be very grateful. ALternatively, if anyone knows any decent
sources of information or forums on this, I would be happy also.
Many thank in advance
James
Regards,
Shyam Pillai
Animation Carbon
www.animationcarbon.com
"James Batley" <James...@discussions.microsoft.com> wrote in message
news:47E9B584-BEFE-4101...@microsoft.com...
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
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
--
Regards,
Shyam Pillai
Toolbox
http://skp.mvps.org/toolbox
"James Batley" <James...@discussions.microsoft.com> wrote in message
news:5FD23DED-62C5-43DE...@microsoft.com...