Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7660579
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T13:29:07+00:00 2026-05-31T13:29:07+00:00

I’m trying to create a COM User Defined Function automation add in for Excel

  • 0

I’m trying to create a COM User Defined Function automation add in for Excel 2003/2007/2010 and create a setup program that will install the add-in without the error message “Cannot find add-in ‘mscoree.dll’. Delete from list?” occurring when the automation add-ins added to excel. This error occurs when running the setup program on PCs other than the development PC.

Using this example by Eric Carter combined with this Stack overflow answer. I have tried both methods of registering both the custom dll and mscoree.dll. Solutions for this problem are well described in both of those links however neither the registry edit of the setup program described in the stackoverflow link nor the code from the other link that should register mscoree.dll works for me when installing with a setup project on another PC (64 bit Windows 7 PC not used for building the program). (In fact the last comment on the Stack overflow link is a person with the exact same problem that I am describing here.) The add-in does work, I just want to prevent the error message.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-31T13:29:08+00:00Added an answer on May 31, 2026 at 1:29 pm

    I had this issue before and I noticed, through some experiments, that we must specify full path for the default value of InprocServer32 key in order to avoid seeing missing dll error message.

    For 32-bit OS:
    the value is C:\Windows\System32\mscoree.dll

    For 64-bit OS:
    the value is C:\Windows\SysWOW64\mscoree.dll

    In C#, you can use the following code , Environment.GetFolderPath(Environment.SpecialFolder.SystemX86)
    or Environment.SystemDirectory to get the path to the system folder.

    The key, Programmable, is also used for listing your add-in in the automation server. Without it, you will not be able to find your add-in there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am trying to create a function that deletes a user from Constant Contact.
I have a VB6 dll that is trying to create a COM object using
I am trying to create a rewrite rule that accomplishes two things: Redirect (www.)?domain.com
I'm trying to create a plugin for nopCommerce v2.20 that allows the user to
I am trying to create an application that posts specific information on a user's
I am trying to create some charts of data (eg http://www.amibroker.com/ ). Is there
I'm trying to create tiny urls like this: site.com/abc123 goes to: site.com/index.php?token=abc123 but I
(source: flickr.com ) Hi again everyone :) So today I'm trying to basically create
I am trying create a WCF service that leverages the WPF MediaPlayer on the
I'm trying to use factory_girl to create a user factory (with RSpec) however it

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.