What is the purpose behind it? You can open any presentation with macros
disabled by force. If you want to detect it after openning it then look up
visual basic extensibility library.
In PPT 2003 or earlier, ensure that your macro security is set to "medium"
(go "Tools - Macro - Security" - "Medium"). This will trigger a confirmation
notice whenever something is opened with a VAB code in there and you can
decide whether to run it or not (and detect whether anything is in there at
all).
Not quite sure how you could embed exe's into PPT or (if possible) detect
them - sorry.
I would think that in 2007 VBA codes can only be activated if the document
is saved as a pptm or potm (macro-enabled)? So you should see it by the file
ending (although this is just a guess - there may still be macros in there
but they're not enabled by default).
We are writing a small utility to remove macros from PPT presentations.
i.e the input of the program will be a folder containing many PPT
presentations.
Then program will enumerate these PPT files and it has to remove if any PPT
file contain macros. How can we achieve this. Does PowerPoint object model
support removing macros contained in a presentation?
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.