Code stops running

  • Thread starter Thread starter Steve Letford
  • Start date Start date
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
 
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/
 
Back
Top