+ Reply to Thread
Results 1 to 5 of 5

VBA code required to delete Right click menu over SHAPES

  1. #1
    Forum Contributor
    Join Date
    09-20-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    275

    Exclamation VBA code required to delete Right click menu over SHAPES

    Dear all,

    I am using below code to delete the RIGHT CLICK menu items when clicked over any cell.
    How best i can modify this code to delete the RIGHT CLICK menu items when clicked over any SHAPES (Say an Image or rectangle) as well...?

    Please Login or Register  to view this content.
    Any urgent response will be of great help.
    Last edited by Leith Ross; 07-18-2015 at 07:05 PM.

  2. #2
    Forum Contributor
    Join Date
    09-20-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    275

    Re: VBA code required to delete Right click menu over SHAPES

    Cross posted

    http://www.vbaexpress.com/forum/show...nu-over-SHAPES
    http://www.mrexcel.com/forum/excel-q...er-shapes.html
    http://www.ozgrid.com/forum/showthre...ghlight=shapes

  3. #3
    Registered User
    Join Date
    01-16-2014
    Location
    Algiers, Algeria
    MS-Off Ver
    Excel 2003, Excel 2013
    Posts
    33

    Re: VBA code required to delete Right click menu over SHAPES

    Hello there,
    I am afraid that you can't disable or cutomize context menus (Right-Click Menus) on Shapes, not even on RibbonX here what says the MSDN:
    In Excel 2007, you can add controls to almost every context menu with VBA code. However, it is not possible to change some context menus such as the Shapes and Picture context menu with VBA. In addition, it is not possible to change context menus with RibbonX.
    In this page:
    https://msdn.microsoft.com/en-us/lib.../gg469862.aspx

    Regards.

  4. #4
    Forum Contributor
    Join Date
    09-20-2014
    Location
    India
    MS-Off Ver
    2013
    Posts
    275

    Re: VBA code required to delete Right click menu over SHAPES

    I see...I will think some other way..Thanks for your response..

  5. #5
    Forum Moderator alansidman's Avatar
    Join Date
    02-02-2010
    Location
    Steamboat Springs, CO
    MS-Off Ver
    MS Office 365 Version 2403 Win 11 Home 64 Bit
    Posts
    23,810

    Re: VBA code required to delete Right click menu over SHAPES

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code.

    Posting code between [CODE]Please [url=https://www.excelforum.com/login.php]Login or Register [/url] to view this content.[/CODE] tags makes your code much easier to read and copy for testing, it also maintains VBA formatting.

    Highlight your code and click the # icon at the top of your post window. More information about these and other tags can be found here



    (This thread should receive no further responses until this moderation request is fulfilled, as per Forum Rule 7)
    Alan עַם יִשְׂרָאֵל חַי


    Change an Ugly Report with Power Query
    Database Normalization
    Complete Guide to Power Query
    Man's Mind Stretched to New Dimensions Never Returns to Its Original Form

+ 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. [SOLVED] Disabling right click context menu for shapes.
    By PlopNofear in forum Excel General
    Replies: 0
    Last Post: 06-17-2015, 09:51 AM
  2. [SOLVED] VBA code required to delete contents of a range and prevent further input.
    By Declamatory in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 11-07-2014, 05:48 AM
  3. A macro to right click a cell and select a item from the right click menu?
    By Peavey in forum Excel Programming / VBA / Macros
    Replies: 9
    Last Post: 02-13-2014, 10:55 AM
  4. Replies: 3
    Last Post: 01-29-2014, 08:43 AM
  5. How to delete visible shapes with code
    By skysurfer in forum Excel Programming / VBA / Macros
    Replies: 6
    Last Post: 01-21-2011, 12:19 PM
  6. [SOLVED] How to delete item on right click menu?
    By Bobo in forum Excel General
    Replies: 1
    Last Post: 08-28-2005, 12:05 PM
  7. Code to create a right click short cut menu
    By Charles Jordan in forum Excel Programming / VBA / Macros
    Replies: 16
    Last Post: 03-16-2005, 11:06 AM

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