C# COM given "#NAME" error

T

Torben Laursen

I have A COM add-in for Excel 2003 that is beeing used without any problems
on a number of computers.

However one of my customers cannot get it to work.
When he tryes to call one of the UDF in the COM he get the error: #NAME.

The COM seens to be installed correct. It addes a menu to Excel and he can
use the winforms that are in the COM.
Also there is no disabled items in Excel (Under Hep/About/Disabled items)
So everything seems to work except the user defined functions inside the COM

Can anyone give me any hints about how I solve this problem?

Thanks
Torben
 
N

NickHK

Torben,
Just a guess: Are you sure the user is using the correct function names ?

NickHK
 
R

Riccardo

hello, I have had a similar problem.

in my case the issue was that excel not using the correct version of the
..net framework.

I have resolved adding the text file excel.exe.config in the office folder
with the following rows
<configuration>
<startup>
<supportedRuntime version= " v2.0.50727 "/>
</startup>
</configuration>
 
T

Torben Laursen

I have solved the problem.

It turned out that the customer has installed Norton internet security 2007
and it was blocking the COM.
The solution is to disable the office plugin in Norton.

Torben
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top