Using controls with slides NOT in SlideShow mode

  • Thread starter Thread starter Mike Hinchcliffe
  • Start date Start date
M

Mike Hinchcliffe

I'm trying to trigger some VBA code when a user clicks on a shape with the
presentation in edit/normal mode - has anyone seen a way to do this? I
realise it would be simple if the presentation was in SlideShow mode,
however this won't work for what I"m trying to achieve.

The ideal would be a control on a layout region similar to the insert
table/chart/diagram etc icons that appear in the blank content layouts, I
can't see a way to achieve this though.

Any help would be very gratefully received!
 
Pretty sure that you cant REALLY do this

BUT could you perhaps create a custom toolbar (right click on toolbar area
and customize TOOLBARS > NEW)
and then use the COMMANDS TEB to put the menu item to run the macro on it.
Then drag the toolbar onto the slide area.

Hope that makes sense.
 
Mike,

if you record a 'macro' while in edit mode, chance are it will play back
just fine in 'edit' mode.

have a look at the code, and you will probably be able to figure out how to
make it trigger your existing vba code

cheers
TAJ Simmons
microsoft powerpoint mvp

awesome - powerpoint backgrounds,
http://www.awesomebackgrounds.com
free powerpoint templates, tutorials, hints, tips and more...
 
I'm trying to trigger some VBA code when a user clicks on a shape with the
presentation in edit/normal mode - has anyone seen a way to do this?

It can be done, but only with an addin installed, one that includes an event
handler. Visit http://www.pptfaq.com and search on "events" for more on this.

The addin would trap the event triggered when something's selected, work out
whether the thing selected is one you're looking for, run the needed code if
so.

I
 
Thanks for the help guys. Steve - that's exactly what I was after, and
works perfectly.

 

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

Back
Top