+ Reply to Thread
Results 1 to 10 of 10

Disabling Right Click on an Image

  1. #1
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Disabling Right Click on an Image

    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.

  2. #2
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Disabling Right Click on an Image

    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.

  3. #3
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Re: Disabling Right Click on an Image

    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.

  4. #4
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Disabling Right Click on an Image

    Can you not use protected worksheet status for this?

  5. #5
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Re: Disabling Right Click on an Image

    Protecting the Worksheet has no effect on the right click ability

  6. #6
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Disabling Right Click on an Image

    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.
    Attached Files Attached Files
    Last edited by AliGW; 05-22-2019 at 02:44 AM.

  7. #7
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Re: Disabling Right Click on an Image

    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?

  8. #8
    Forum Contributor
    Join Date
    09-29-2011
    Location
    ɹǝpun uʍop
    MS-Off Ver
    365
    Posts
    250

    Re: Disabling Right Click on an Image

    Found I had "Edit Objects" and "Edit Scenarios" ticked.

    Unticked them, and all good.

    Thanks for your help!

  9. #9
    Forum Moderator AliGW's Avatar
    Join Date
    08-10-2013
    Location
    Retired in Ipswich, Suffolk, but grew up in Sawley, Derbyshire (England)
    MS-Off Ver
    MS 365 Subscription Insider Beta Channel v. 2404 (Windows 11 22H2 64-bit)
    Posts
    79,369

    Re: Disabling Right Click on an Image

    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.

  10. #10
    Registered User
    Join Date
    10-05-2021
    Location
    Athens, Greece
    MS-Off Ver
    2019
    Posts
    8

    Re: Disabling Right Click on an Image

    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.

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. Disabling right click for cut option
    By besis in forum Excel Programming / VBA / Macros
    Replies: 4
    Last Post: 03-06-2019, 04:18 PM
  2. [SOLVED] Disabling right click context menu for shapes.
    By PlopNofear in forum Excel General
    Replies: 0
    Last Post: 06-17-2015, 09:51 AM
  3. [SOLVED] Disabling KeyBoard Right Key Button & Right Click on Sheet Tab
    By cvishu in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 10-19-2014, 11:02 AM
  4. Replies: 0
    Last Post: 09-15-2014, 07:22 AM
  5. Disabling right-click on slicer
    By nea in forum Excel Programming / VBA / Macros
    Replies: 3
    Last Post: 05-05-2014, 06:52 PM
  6. Replies: 1
    Last Post: 06-02-2006, 04:20 PM
  7. disabling right click
    By Dion in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 06-16-2005, 06:05 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1