PDA

View Full Version : Powerpoint VBA Project Protection Issue



thewiz
03-01-2007, 08:46 AM
I've created a one slide project in powerpoint (03) which is password protected. The code is in the slide object rather than a module so that the functionality is retained when I copy the slide to another
presentation. However, the problem I have is that although the slide
and code are copied across to the project for the new presentation it
doesn't retain the password protection!

Does any one have a fix for this? Ideally I would like to keep
the same password in the new project.

Thanks

John Wilson
03-01-2007, 10:19 AM
You will always lose the password if you copy slides into other presentations, the password is for the module. To get round this (if you must have code on slides) start with the presentation with the passworded slide and add the other slides to IT by using Insert>slides from files.

thewiz
03-01-2007, 10:40 AM
Unfortunately that won't work for my purposes. The whole idea was to have an interactive slide that could be used as a template and copied into other presentations. I want to keep the code hidden but this bug in Powerpoint means any code you write is available once the slide is copied unless it's in a module. I don't understand why MS provide the ability to store code in a slide if you can't protect it with the password?