+ Reply to Thread
Results 1 to 5 of 5

Creating an Add-In can't get custom menu working

  1. #1
    Registered User
    Join Date
    03-22-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Creating an Add-In can't get custom menu working

    Hi,

    I am trying to create a new add in for excel. I have the add in created but I cant get a new custom menu working. It will not show up on the menu bar no matter what code I throw at it. I am new at doing this type of thing so I must be doing something wrong but I can't figure out what.

    I had been following instructions on this website:

    http://www.ozgrid.com/VBA/excel-add-in-create.htm

    Like I said I have the add-in created as an xla and when I run it from the VB editor t runs fine and the macro will run int he document. I am going to be distributing this addin to a few clients and just want to create a simple menu on the menu bar to be able to run the macro in the add-in but even though I used the code on that website no new menu is being added to excel.

    I am adding this code into "ThisWorkbook" in VB under the xla I made.

    Here is the code I am using:
    Please Login or Register  to view this content.
    Any help would be great.
    Last edited by royUK; 03-22-2010 at 03:11 PM. Reason: add code tags

  2. #2
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Creating an Add-In can't get custom menu working

    Your post does not comply with Rule 3 of our Forum RULES. Use code tags around code. Posting code without them makes your code hard to read and difficult to be copied for testing. Highlight your code and click the # at the top of your post window. For more information about these and other tags, found here
    Hope that helps.

    RoyUK
    --------
    For Excel Tips & Solutions, free examples and tutorials why not check out my web site

    Free DataBaseForm example

  3. #3
    Forum Expert royUK's Avatar
    Join Date
    11-18-2003
    Location
    Derbyshire,UK
    MS-Off Ver
    Xp; 2007; 2010
    Posts
    26,200

    Re: Creating an Add-In can't get custom menu working

    I've added code tags this time. Your menu will only be displayed when the addin is installed

  4. #4
    Registered User
    Join Date
    03-22-2010
    Location
    USA
    MS-Off Ver
    Excel 2003
    Posts
    2

    Re: Creating an Add-In can't get custom menu working

    Thanks I will make sure to read the rules in the future I apologize

    Also thanks for the replay but the addin is installed and the menu is still not showing up.

  5. #5
    Forum Expert romperstomper's Avatar
    Join Date
    08-13-2008
    Location
    England
    MS-Off Ver
    365, varying versions/builds
    Posts
    21,998

    Re: Creating an Add-In can't get custom menu working

    Your code may be suppressing errors that area occurring. Try:
    Please Login or Register  to view this content.
    I assume you are not in fact using 2007 (or later).
    Everyone who confuses correlation and causation ends up dead.

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

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