Code stops running

S

Steve Letford

Hi,
I am having problems with VBA in powerpoint, with something as simple as a
msgbox behind a command button.

I place a button on a form and add some code to the click event.

Run the slide show and it all works OK. I then close powerpoint, after
saving my .ppt file. When I open it back up the code is still there but it
no longer runs. In fact, no code runs on that page anymore. I have to
create a whole new slide show for it to work again.

I'm using office 2000 service pack 1.

Appreciate any help.

Steve
 
S

Shyam Pillai

Steve,
Looks like you 'macro Security' settings are currently High.

1. Select Tools|Macros|Security on the security level tab, check MEDIUM.
2. Click on OK
3. Reopen the presentation.
4. It will prompt you with the macro warning. Enable it and the code should
run now.

--
Regards
Shyam Pillai

Batch Exporter
http://www.mvps.org/skp/products/xport/
 

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