I take an existing powerpoint that has two "normal" slides and I remove the first one.
PowerPoint was unable to display some of the text, images, or objects on slides in the file, filename.ppt, because they have become corrupted. Effected slides have been replaced by blank slides in the presentation and it is not possible to recover the lost information. To ensure that the file can be opened in previous versions of PowerPoint, use the Save As command (File menu) and save the file with either the same or a new name.
Now, the original file is valid, and the output looks correct, but MS is giving the error that it isn't.
I'm using MS Office 2003 - (11.6564.6568) SP2
Please take a look and let me know what I might be doing wrong.
The "code" had no content, nor should any presentation I expect to work with contain content.
What's interesting is that after I removed the "code"- I deleted the module and when I go to the VBA editor, I don't see any classes, modules etc. - the size of the file is still 4K bigger than if I recreate the file from scratch.
So, it appears that if you create code, then remove it, there is still a difference in the presentation, which may be my problem.
So, to branch my question then:
1) It appears that once any user has any vb macro (whether it contains code or not), they have done something that cannot be recovered from using MS Powerpoint. Importing the slide to another presentation carries along the phantom "code". In your experience, does this sound correct?
2) My goal in removing slides is to separate a presenation into several presentations, one for each slide. Do you have an algorithm for doing this that doesn't have this problem?
Bigger size of ppt is normal. It depends on many things. The main is internal structure of ppt file.
Also probably you have incremental saving (aka fast saving) turned on.
If you do “Save As…” file will become smaller again.
VB macros can be saved in different parts of ppt file. In your case
macro added to an object (slide) and it will be “phantom” after
deleting slide. But if macro added to the root of ppt you can delete
slides without any problem.
I’d suggest using presentation with one empty slide as template. You
can clone each slide of your ppt to this template, delete first slide
and save results to separate files. It works slower but more safe now.