Discussion Locked

PowerPoint Macros

0 helpful
3 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I have a powerpoint presentation that includes Macros. When I open it, I get a dialogue prompting to "enable" "disable" macros.

When I call it through OLE, I use the "windowless" option in the presentation.open() command, but what is the default behavior of the Macro enable/disable
dialogue? What happens if the presentation has a macro virus that I did not want to run, is there any way to specifically disable
macros when calling a powerpoint presentation through OLE?

Thanks

George

3 replies

by lord ago 1

That dialog does just what it says, enables or disables macros. If I remember right, it's all the user made macros not the macros that would normally be for that presentation. Once you click the diable, any user made macros won't work even if they are ones made by you. Diabeling would be your better bet unless you made the extra macros. To disable certain macros, you have to use the Macro Organizer (Tools Menu)and delete the ones that you think would be a virus. That would only temporarily takecare of that presentation until other infected presentations are used. Another problem with this is that you run the risk of the macro virus doing the damage before you can get rid of it.
Your best bet, use several different virus scanners to get rid of the macro viruses and then go ahead with the macros. Use several different scanners because you can never rely on any one scanner. Some scanners will detect and clean, some will detect only, and some won't even detect to begin with. A good combonation would be AVP, Norton Anti-Virus, and the Mcafee Command Line scanners.

Have Fun!!!

by gjohnson

This response does not address opening the presentation through OLE. I need to know if there are switches in the application.presentation(open) that will specifically DISABLE macros -- all of them.

This discussion is closed to new replies.