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

    Home » Forums » AskWoody support » Productivity software by function » MS Excel and spreadsheet help » Loading an Addin via Registry (Excel 2000 SP-3)

    Author
    Topic
    #393092

    I set a Registry setting, HKEY_CURRENT_USERSoftwareMicrosoftOffice9.0ExcelOptionsOPEN777 = 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?

    Viewing 3 reply threads
    Author
    Replies
    • #710274

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

      Steve

      • #710314

        It’s created upon loading the addin.

        • #710374

          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.

          • #710712

            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.

            • #710739

              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.

            • #710740

              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.

            • #710754

              Ethan,

              You mention some knowledge base articles – which ones?

              Cheers

            • #712896

              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[/url]

            • #712897

              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[/url]

          • #710713

            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.

        • #710375

          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.

      • #710315

        It’s created upon loading the addin.

    • #710275

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

      Steve

    • #710512

      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).

    • #710513

      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).

    Viewing 3 reply threads
    Reply To: Loading an Addin via Registry (Excel 2000 SP-3)

    You can use BBCodes to format your content.
    Your account can't use all available BBCodes, they will be stripped before saving.

    Your information: