Results 1 to 9 of 9
  1. #1
    Star Lounger
    Join Date
    Jan 2001
    Location
    U.S. - East Coast
    Posts
    73
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Loading an Addin via Registry (Excel 2000 SP-3)

    I set a Registry setting, HKEY_CURRENT_USERSoftwareMicrosoftOffice9.0ExcelOp tionsOPEN777 = myaddin.xla(where "myaddin.xla" represents the complete path/name of the addin). I expect that when I start Excel I should see my custom menu entry on the menu bar. My result is that the menu item is missing, although a peek at Tools/Addins shows the addin is available and checked. Any ideas?

  2. #2
    WS Lounge VIP sdckapr's Avatar
    Join Date
    Jul 2002
    Location
    Pittsburgh, Pennsylvania, USA
    Posts
    11,225
    Thanks
    14
    Thanked 342 Times in 335 Posts

    Re: Loading an Addin via Registry (Excel 2000 SP-3)

    How is the menu added?
    Is the custom menu created on file open or addin installed?

    Steve

  3. #3
    Star Lounger
    Join Date
    Jan 2001
    Location
    U.S. - East Coast
    Posts
    73
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Loading an Addin via Registry (Excel 2000 SP-3)

    It's created upon loading the addin.

  4. #4
    5 Star Lounger
    Join Date
    Feb 2001
    Location
    Dallas plus 20 miles or so, Texas, USA
    Posts
    876
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Loading an Addin via Registry (Excel 2000 SP-3

    You can also load the addin through VBA, although this might not be appropriate in your situation. Something like the following should work for the analysis toolpak.

    AddIns("Analysis ToolPak").Installed = True

    If you are coding one specific workbook, and using an addin to update/make changes to the workbook, you might be better going that route.

  5. #5
    Platinum Lounger
    Join Date
    Feb 2001
    Location
    Weert, Limburg, Netherlands
    Posts
    4,812
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Loading an Addin via Registry (Excel 2000 SP-3)

    If you check my spot on the Excel MVP page below, you'll see a number of utilities which have an Excel based setup routine in them (Autosafe, Name Manager, Flexfind, AutosafeVBE). Works without trouble. Their code is not protected (of the setup routines that is).
    Jan Karel Pieterse
    Microsoft Excel MVP, WMVP
    www.jkp-ads.com
    Professional Office Developers Association

  6. #6
    Star Lounger
    Join Date
    Jan 2001
    Location
    U.S. - East Coast
    Posts
    73
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Loading an Addin via Registry (Excel 2000 SP-3

    The addin is a suite of Excel tools for a global user base. It is installed from a custom folder, not one of the Office folders, so I can't rely on it being loaded automatically without setting registry settings, etc. I had assumed that, based on some knowledge base articles, I could simply set the one registry value "OPENxx...". The addin seems to get loaded by virtue of the fact that it is listed under Tools|Addins...the problem is that the custom menu item added to the menu bar by the addin is not visible unless I manually unload/reload the addin.

  7. #7
    Star Lounger
    Join Date
    Jan 2001
    Location
    U.S. - East Coast
    Posts
    73
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Loading an Addin via Registry (Excel 2000 SP-3

    Got it. In my testing I purposely set the increment for OPEN to a high value so as not to step on some other setting. However, that caused a gap between my setting and the last OPEN setting. Apparently, if there is a gap of even one increment (i.e. OPEN4, OPEN6) the custom menu is not added to the menu bar. Ensuring that all OPEN values are sequentially numbered resolves the problem.

  8. #8
    5 Star Lounger Ruff_Hi's Avatar
    Join Date
    Feb 2001
    Location
    New York, New York, USA
    Posts
    768
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Loading an Addin via Registry (Excel 2000 SP-3

    Ethan,

    You mention some knowledge base articles - which ones?

    Cheers
    (Location Australia, then UK, but now USA. Heart, outlook, attitude, etc always Australian)
    Quote: "All Happiness is the release of internal pressure"

  9. #9
    Star Lounger
    Join Date
    Jan 2001
    Location
    U.S. - East Coast
    Posts
    73
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: Loading an Addin via Registry (Excel 2000 SP-3

    Tim,

    Sorry for the late response. I searched the MS knowledge base for info. on the "OPEN" resgistry value for Excel addins. One of the better pages, although geared towards Office 97, is:

    http://msdn.microsoft.com/library/default....dn_addins97.asp

Posting Permissions

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