|
-
Dec 21st, 2009, 04:40 PM
#1
Thread Starter
New Member
disable print and save as command in power point
Hello, do you know if it's possible to disable the print and the save as commands in power point after a presentation is open and when the presentation (POWER POINT 2007) is closed enable those commands again?
What i need is to protect an specific presentation from being printed or saved, i want to leave it only read-only and disable print and save commands.
-
Dec 21st, 2009, 08:29 PM
#2
Fanatic Member
Re: disable print and save as command in power point
Alright, I could not find how to view the events for a Slide in a presentation so I only got so far... however. I see this event below.
Code:
Event PresentationBeforeSave(Pres As Presentation, Cancel As Boolean)
So at least for the Save you could Cancel any save operation by putting code into this event. There must be something similar for printing.
-
Dec 22nd, 2009, 03:07 AM
#3
Re: disable print and save as command in power point
There must be something similar for printing.
it may be an application event rather than a presentation event
i do my best to test code works before i post it, but sometimes am unable to do so for some reason, and usually say so if this is the case.
Note code snippets posted are just that and do not include error handling that is required in real world applications, but avoid On Error Resume Next
dim all variables as required as often i have done so elsewhere in my code but only posted the relevant part
come back and mark your original post as resolved if your problem is fixed
pete
-
Dec 22nd, 2009, 08:10 AM
#4
Thread Starter
New Member
Re: disable print and save as command in power point
Thank you Bill that's good i will try it and i will lok for a similar code fore printing!
-
Dec 22nd, 2009, 08:40 AM
#5
Addicted Member
Re: disable print and save as command in power point
 Originally Posted by BillBoeBaggins
Alright, I could not find how to view the events for a Slide in a presentation so I only got so far... however. I see this event below.
Code:
Event PresentationBeforeSave(Pres As Presentation, Cancel As Boolean)
So at least for the Save you could Cancel any save operation by putting code into this event. There must be something similar for printing.
If the user has disabled macros, then this won't prevent them from saving the file. Also, unlike other office applications like excel, you cannot auto run a macro in PowerPoint, so the user is going to have to press a button somewhere to activate this code.
You could restrict access to the document to prevent users from modifying the document, although I don't know if it's possible to prevent them from printing. Also, Microsoft has made this feature more difficult in version 2007 - you apparently have to sign up for Microsoft's Information Rights Management Service to restrict access to a document.
-
Dec 22nd, 2009, 11:10 AM
#6
Thread Starter
New Member
Re: disable print and save as command in power point
ohh no.. i thought that as in excel there was an option to auto run a macro when an power point file was opened. Eventhough thanks for your help.
Do you know if there is a way to save a power point presentation and keep all the animation on a protected similar to pdf but with animation?
-
Dec 22nd, 2009, 01:29 PM
#7
Fanatic Member
Re: disable print and save as command in power point
 Originally Posted by MarkWalsh
If the user has disabled macros, then this won't prevent them from saving the file....
Crap. Sorry for the bad advice then OP.
On a non technical note, where is the presentation being shown where you cannot control the printing?
-
Dec 22nd, 2009, 01:56 PM
#8
Thread Starter
New Member
Re: disable print and save as command in power point
what happen is that we need to get approval of some presentations from our customer but we don't want to let them print or save the presentation.
-
Dec 22nd, 2009, 02:09 PM
#9
Addicted Member
Re: disable print and save as command in power point
 Originally Posted by adonado
what happen is that we need to get approval of some presentations from our customer but we don't want to let them print or save the presentation.
I don't think you're going to be able to do that. The best you will probably be able to do would be to add a watermark to your slide master(s) and prevent them from editing the document.
-
Dec 22nd, 2009, 02:39 PM
#10
Thread Starter
New Member
Re: disable print and save as command in power point
Yes i have to look for a different way to solve this.
Thanks Bill and Mark for your support!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|