PDA

Click to See Complete Forum and Search --> : How to save a *.ppt file without the VBA-Macros


opus
Oct 26th, 2004, 02:08 AM
Is it possible to save a .PPT file without the VBA-Code?

RobDog888
Oct 26th, 2004, 04:31 PM
I know your not meaning File > Save :D

Do you mean use vb to automate the process?

opus
Oct 26th, 2004, 11:40 PM
OK, I should have said ..using VBA, but since this is the VBA-Section, I thought..........

I know I can just copy all slides onto a new (empty )*.ppt, but isn'T an option to SaveAS without the VBA-Code that is coming with the opiginal .ppt?

RobDog888
Oct 27th, 2004, 02:08 AM
So your looking for some VBA code to export your slides to a fresh
non-macro containing ppt file?

What about just placing a password on the VBA and locking it
from viewing?

opus
Oct 27th, 2004, 04:30 AM
'cause the VBA code is meant to run only once on the file.
The password just prevent from copieng my code, not mistakenly using it (again).

RobDog888
Oct 27th, 2004, 11:48 AM
How about adding some code to determine if its been "processed"
or not? If its been processes then the code wont run.

Another more painful way may be to export the slides to a
new .ppt file, but the user could still doa save as while in the
original macro containing ppt file and bypass this.

opus
Oct 27th, 2004, 11:55 PM
Yeah, I think I'll have to go the painfull way. (Some parts don't copy reall easy, like specials from the MasterSlide).
Thanks anyway

RobDog888
Oct 28th, 2004, 02:23 AM
Adding code to check if the macro has already een run is not an
option? Sounds easier then the alternative.