Hi,
Is it possible to disable right click on an image?
The images I have form links to other files and web pages, however I'd like to be able to disable the right click option.
Regards, Paul.
Hi,
Is it possible to disable right click on an image?
The images I have form links to other files and web pages, however I'd like to be able to disable the right click option.
Regards, Paul.
May I ask why you wish to disable the right-click option? If it's to try to protect the image, then it's futile as there are many ways to circumvent this restriction. Taking screenshots is one way. If the image in question is appearing on a web page (I am not sure from your description, then it has already been downloaded to the user's PC when they view it - that's how browsers work. The best way to protect an image is to watermark it (although even that can be circumvented, although it's much harder to do and is a better deterrent).
If it's for a different reason, please let us know.
Ali
Enthusiastic self-taught user of MS Excel who's always learning!
Don't forget to say "thank you" in your thread to anyone who has offered you help.
You can reward them by clicking on * Add Reputation below their user name on the left, if you wish.
Forum Rules (updated August 2023): please read them here.
I'm not fussed about people using the image - they're only public domain images anyway.
I want to stop users changing the image on my worksheet, or inadvertently deleting them.
Can you not use protected worksheet status for this?
Protecting the Worksheet has no effect on the right click ability
Well, it does here! If I use the default protection settings (just the top two boxes ticked) the image cannot be selected at all, let alone right clicked.
Last edited by AliGW; 05-22-2019 at 02:44 AM.
I need to compare. Mine is protected and you can right click. Yours I can't. Interesting...
Would it make a difference that mine are links?
Found I had "Edit Objects" and "Edit Scenarios" ticked.
Unticked them, and all good.
Thanks for your help!
That would be it!
If you find you need those ticked for some other reason, there may be a way to protect your images with code.
What if there is code running in the background and protecting the sheet is not an option? Furthremore, some images have to be selected since there are macros assigned or at least you should be able to click on them. However, right click should not be an option, since the user may either cut or edit the image and as a result the marco.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks