PowerPoint Macro

C

Caitlyn

I am creating a PowerPoint presentation and I would like to provide a link
which will run an executable visual basic file.

I understand how to hyperlink to the file but I would like a cleaner
transition from the presentation to the running file. The file will need to
run in the middle of the presentation, so I would like to provide a smoother
way of transitioning from the PowerPoint slideshow to the visual basic file.

As of now, when I click on the hyperlink the visual basic file runs in front
of the slideshow. I want the slideshow to minimize when the hyperlink is
clicked, therefore only showing the visual basic file. I am guessing the way
to make this happen is via a macro but I don’t know exactly how to make that
work.

Any ideas would be greatly appreciated.

Also, is there a way to incorporate a macro to maximize the slideshow once I
am done with the visual basic file; such as creating a key combination to
make it go back to the slideshow?

My goal is to make it look professional rather than clicking all over the
place and the file visible on top of the slideshow.
 
B

Bill Dilworth

Why do you need to minimize the slide show? Just for appearance or is there
a programming reason?

I probably would try to do whatever the VB code is doing inside the VBA
structure of PowerPoint, but that is me.

You could ...
... Just thinking out loud here ... Using VBA, insert a black shape on
top of everything on the slide (with a mouse over action setting), fire off
your VB program, let it have a go at your stuff, and use the mouse over to
on the black shape to tell them to click it to advance. Then, when they do
click on the shape, remove it.

If you want to get into control one app from another, you will need to start
investigating early vs. late binding and exactly what a language change can
do to code. Lots more details to manage.

Bill Dilworth
 

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