+ Reply to Thread
Results 1 to 3 of 3

Custom right-click cell menu not working from Add-In

  1. #1
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    Custom right-click cell menu not working from Add-In

    This right-click custom cell menu works when the code is in a workbook.
    When placed in an Add-In, it does not work.
    I want to use the cell menu for all workbooks.
    What am I doing wrong?

    (It is saved as an Excel Add-In, and then the Add-In is turned on, this part I know about).

    WORKBOOK
    Please Login or Register  to view this content.
    MODULE
    Please Login or Register  to view this content.
    Last edited by Un-Do Re-Do; 08-05-2017 at 12:20 PM.

  2. #2
    Forum Guru
    Join Date
    07-25-2011
    Location
    Florida
    MS-Off Ver
    Excel 2003
    Posts
    9,643

    Re: Custom right-click cell menu not working from Add-In

    The add-in workbook is not activated when it's loaded as an add-in. So use the Workbook_Open event procedure to trigger loading the custom menu.

    Please Login or Register  to view this content.
    Surround your VBA code with CODE tags e.g.;
    [CODE]your VBA code here[/CODE]
    The # button in the forum editor will apply CODE tags around your selected text.

  3. #3
    Forum Contributor
    Join Date
    11-10-2009
    Location
    Perth, Australia
    MS-Off Ver
    Excel 2007
    Posts
    549

    Re: Custom right-click cell menu not working from Add-In

    @AlphaFrog
    Thx very much, it works.

+ 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. Custom Right Click Menu
    By jharaldson in forum Excel Programming / VBA / Macros
    Replies: 0
    Last Post: 08-26-2012, 10:40 PM
  2. Replies: 0
    Last Post: 11-27-2010, 06:38 AM
  3. Custom right click menu
    By Jacques Grobler in forum Excel Programming / VBA / Macros
    Replies: 13
    Last Post: 09-13-2010, 03:32 AM
  4. Custom Right-Click Menu & Submenu
    By efernandes67 in forum Excel Programming / VBA / Macros
    Replies: 7
    Last Post: 08-05-2010, 06:35 PM
  5. Persistent custom right-click shortcut menu item
    By ahartman in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 02-02-2009, 01:21 PM
  6. [SOLVED] My right click menu is not working.
    By Right click mouse in excel to copy in forum Excel General
    Replies: 1
    Last Post: 04-28-2005, 09:06 AM
  7. [SOLVED] custom right click menu
    By Father of 7 in forum Excel Programming / VBA / Macros
    Replies: 1
    Last Post: 01-27-2005, 10:06 AM

Tags for this Thread

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