View Single Post
  #6   Report Post  
Posted to microsoft.public.excel.programming
Torben Laursen[_3_] Torben Laursen[_3_] is offline
external usenet poster
 
Posts: 8
Default C# COM given "#NAME" error

Riccardo,
Thanks for the feedback. But it did not solve the problem.

Torben

"Riccardo" wrote in message
...

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

"Torben Laursen" wrote:

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