Using a Treeview on a PPT slide

K

KR

I'm trying to mock up a user interface in PPT, and one of the controls that
makes sense to use is a treeview. However, I'm having several problems:

(1) when I go into slide show mode, the treeview (in addition to showing up
on the slide where it is supposed to be) shows up in the upper left corner
of the screen, blocking other important information. What do I need to do,
to make sure the treeview "stays put"?

(2) I'm having a heck of a time finding any info (even in the VBA help
files) about how to add/name nodes and child nodes. I tried random attempts
at syntax based on the VBE intellisense prompts, but so far nothing has
worked. I googled but didn't find anything targeted at just adding and
updating nodes (I don't need drag-and-drop nodes or anything complicated- I
just need to be able to populate the tree, then during the presentation,
click nodes and use the clicked node to populate other on-screen controls)

I appreciate any pointers to appropriate resources and/or code snippets.
Thanks!
Keith
 
C

Chirag

Look for my free VBA Controls Assistant add-in at
http://officeone.mvps.org/addins.html. It fixes the problem of treeview
control shifting to top-left corner in slide show mode.

A treeview has a Nodes collection that provides access to all the nodes of
the tree. Use the Add() method to add new nodes to the tree and Remove()
method for deleting nodes from the tree.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 
K

KR

Chirag-

Thank you both for pointing me to the add-in, and for the time you took to
create it in the first place- I'm sure I'm only one of many people who
have/will benefit from your expertise.

I do have one question- I can download and install the executable at home,
but our work PCs are locked down so that I can't download (or copy)
executables, and I don't have machine permissions to do anything that
changes the registry.

Is it possible for me to manually transfer the add-in from my home machine
on disk (without the exe), or does that either (a) violate the terms of use
or (b) cause problems because the installation exe makes other changes I
don't know about? I'm assuming the add-in has to be installed not only
during development but also at run-time, otherwise I could just do all my
development at home and just bring in the final file.

Many thanks,
Keith
 
C

Chirag

Hi Keith,

The add-in (PPVBA.ppa) can be copied to your work machine and loaded in
PowerPoint through "Tools" | "Add-Ins..." menu item. No other modifications
are done by the installation exe.

Your assumption is right: The add-in is required at design-time as well as
run-time.

- Chirag

PowerShow - View multiple PowerPoint slide shows simultaneously
http://officeone.mvps.org/powershow/powershow.html
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top