Results 1 to 6 of 6

Thread: Add In's Custom Menu

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    27

    Add In's Custom Menu

    I have a XLA that has a macro custom menu in it. I tried to add te XLA through te Add In option in Excel and the menu appears. However, when I close Excel and open it again, the custom menu is gone. In the Add In window, the XLA file Add In is still checked which means it is still installed. But how come the custom menu is gone if it is still installed? I have to uninstall and reinstall the XLA file again to get back the menu.

    Is it possible to let the custom menu to stay until the user uninstalls the XLA file from the Add In option window? Right now, this happens even when I did not run any code to remove the menu in the XLA workbook's addin_uninstall event. But the menu is created in its addin_install event.

    Thanks.

  2. #2

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    27

    Re: Add In's Custom Menu

    Anyone has any idea on this?

  3. #3
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Add In's Custom Menu

    The method that you are using is absolutely correct. The rest I will be able to comment, after I see the Addin's code. Can you upload the Addin?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  4. #4

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    27

    Re: Add In's Custom Menu

    I am following the code completely from http://www.ozgrid.com/VBA/custom-menus.htm

    The menu appears when I installs the Add in but disappear after I close and reopen Excel even though I did not uninstall the Add in. I am using Excel 97. I need the menu to stay until I uninstall the add in, then the menu deletes itself as the deletemenu function code is run.

    Thanks.

  5. #5
    Discovering Life Siddharth Rout's Avatar
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    12,001

    Re: Add In's Custom Menu

    Quote Originally Posted by xEnOnn View Post
    I am following the code completely from http://www.ozgrid.com/VBA/custom-menus.htm

    The menu appears when I installs the Add in but disappear after I close and reopen Excel even though I did not uninstall the Add in. I am using Excel 97. I need the menu to stay until I uninstall the add in, then the menu deletes itself as the deletemenu function code is run.

    Thanks.
    Excel 97... Hmmm, I don't even remember how does it look like

    There is nothing wrong in the code in that link. It all matters on how are you using the code. Can I see your file?
    A good exercise for the Heart is to bend down and help another up...
    Please Mark your Thread "Resolved", if the query is solved


    MyGear:
    ★ CPU ★ Ryzen 5 5800X
    ★ GPU ★ NVIDIA GeForce RTX 3080 TI Founder Edition
    ★ RAM ★ G. Skill Trident Z RGB 32GB 3600MHz
    ★ MB ★ ASUS TUF GAMING X570 (WI-FI) ATX Gaming
    ★ Storage ★ SSD SB-ROCKET-1TB + SEAGATE 2TB Barracuda IHD
    ★ Cooling ★ NOCTUA NH-D15 CHROMAX BLACK 140mm + 10 of Noctua NF-F12 PWM
    ★ PSU ★ ANTEC HCG-1000-EXTREME 1000 Watt 80 Plus Gold Fully Modular PSU
    ★ Case ★ LIAN LI PC-O11 DYNAMIC XL ROG (BLACK) (G99.O11DXL-X)
    ★ Monitor ★ LG Ultragear 27" 240Hz Gaming Monitor
    ★ Keyboard ★ TVS Electronics Gold Keyboard
    ★ Mouse ★ Logitech G502 Hero

  6. #6

    Thread Starter
    Junior Member
    Join Date
    Nov 2009
    Posts
    27

    Re: Add In's Custom Menu

    I have tried on my other computer on Office 2003 and it works. The menu stays even after I close excel.

    The office 97 is actually what my office computers are still using. The menu doesn't stay after I close and reopen excel. I do not have admin rights on the computer in my office. Could this be the problem?

    Also, my Add In file is placed on the desktop.

    I have attached the file that I was trying to this post.
    Attached Files Attached Files

Posting Permissions

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



Click Here to Expand Forum to Full Width