PRB: Automation Add-In Function Binds to Excel Built-In Function with the Same Name (286305)
The information in this article applies to:
- Microsoft Office Excel 2003
- Microsoft Excel 2002
- Microsoft Visual Basic Professional Edition for Windows 6.0
This article was previously published under Q286305 SYMPTOMS
When you create an Automation Add-in that is targeted for Microsoft Excel and you insert a function from your add-in into an Excel worksheet by using the Insert Function dialog box, Excel binds to the built-in function instead of your custom function because the name of the function matches the name of an Excel built-in function. This also applies to custom functions in other add-ins.
RESOLUTION
There are two ways to avoid this problem:
- When you create Automation Add-ins, avoid using a function name that is the same as a built-in Excel function or other add-in function that is loaded.
- Enter the function directly into the cell, including the ProgID of the add-in.
REFERENCESFor additional information, click the article number below
to view the article in the Microsoft Knowledge Base:
285337 HOWTO: Create an Automation Add-in for Excel 2002 Functions
Modification Type: | Major | Last Reviewed: | 12/12/2003 |
---|
Keywords: | kbprb kbProgramming KB286305 kbAudDeveloper |
---|
|