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 154433
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T09:58:40+00:00 2026-05-11T09:58:40+00:00

I have created an automation addin in C# .NET and have a shim dll

  • 0

I have created an automation addin in C# .NET and have a shim dll for it. The shim dll has all the User Defined methods in it that calls the appropriate methods in the .NET assembly.

The problem that I am facing is related to Excel 2007.

In Excel 2003, 1. Add a new shape to a worksheet 2. Insert >> Function >> SUM. The Function arguments dialog comes up 3. click on the newly inserted shape instead of a cell Note: Nothing happens and no cell value is entered automatically in the argument box

Now in Excel 2007, 1. Insert a new shape 2. Formulas Ribbon Tab >> Insert Function >> SUM. Function Arguments dialog comes up 3. Click on the newly inserted shape Note that now an error dialog is displayed saying ‘The formula you typed contains an error’

This dialog comes up for a predefined function (SUM). If I select my function from the list in-place of SUM, the error dialog is not displayed and the Function Argument dialog just vanishes. The cell then shows an error smarttag.

Is there something that needs to be put into the SHIM dll for each function? Like an attribute or something that will display this error dialog. OR maybe some special value that is returned by the method to tell that the argument has generated an error.

The function defined in the COM shim are like:

STDMETHOD(GetArea)(MyExcelAddIn::Range *r, double *pRetVal) {    return m_pMyUDF->GetArea(r, pRetVal); } 
  • 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. 2026-05-11T09:58:41+00:00Added an answer on May 11, 2026 at 9:58 am

    I contacted Microsoft and they confirmed that this is a bug in the Excel product. I will post the bug link when I get it from them.

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

Sidebar

Ask A Question

Stats

  • Questions 73k
  • Answers 74k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • added an answer No, it's not valid C. It should only be used… May 11, 2026 at 2:12 pm
  • added an answer use Blue (#0276DB) instead of orange, and then inverse the… May 11, 2026 at 2:12 pm
  • added an answer Cloud computing sounds like what you need. Amazon, Microsoft and… May 11, 2026 at 2:12 pm

Related Questions

I have created an SSIS package and it works great on my dev machine.
I have created an item swapper control consisting in two listboxes and some buttons
I have created an application which needs 'hand-over' to the support group in the
I have created an web service I need to publish this service. I need
I have created an iPhone application based on an OpenGL view. Now I would
I have a property created with CodeDom. How can I set it to being
I have created an ActiveX control using C++. I use Visual Basic code to
I have created a .NET DLL which makes some methods COM visible. One method
I am working with a PC based automation software package called Think'n'Do created by

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.