Consulting

Results 1 to 5 of 5

Thread: Solved: Disable right click on images

  1. #1

    Solved: Disable right click on images

    I have imported some fancy icons which I am using as buttons to run macros.

    I have disabled the right click function, but it still allows you to select the images(icons).

    Can I disable it so that the righ click will not select the images.

  2. #2
    can anyone help I have tried application.commandbars(cell).enabled = false, this only disables right click on cells not images

  3. #3
    Knowledge Base Approver VBAX Guru GTO's Avatar
    Joined
    Sep 2008
    Posts
    3,368
    Location
    Hi there,

    I might be misunderstanding, or just plain wrong, but I believe you'd have to protect the sheet to prevent objects from being selected.

    Mark

  4. #4

    hi

    thanks gto, the sheets are protected already... you can select the images but you cant move them as they are locked.

    strange in excel 2007 what it works you cant right click on the image if it is in a protected sheet.. so why is it differen in 2003

  5. #5
    i figured it out , on 2003 you need to deselect the objects when protecting the sheet. thanks GTO

Posting Permissions

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