Paul,
As I have already stated I am not interested in COM Add-in documentation
for dotnet but for documentation for Excel Automation Add-in which is a
different thing.
Thanks for the try.
Anyone else ?
Can anyone answer my questions ?
Please help
Emmanuel
> ? Hi Paul,
> ?
[quoted text clipped - 48 lines]
> Paul ~~~ pclement@ameritech.net
> Microsoft MVP (Visual Basic)
From: v-phuang@online.microsoft.com ("Peter Huang" [MSFT])
Date: Fri, 03 Dec 2004 03:47:28 GMT
Subject: Re: Creating an Excel Automation Add-In using C#
Newsgroups: microsoft.public.dotnet.framework.interop
Hi
Comments in line.
Best regards,
Peter Huang
Microsoft Online Partner Support

Signature
Get Secure! - www.microsoft.com/security
This posting is provided "AS IS" with no warranties, and confers no rights.
--------------------
>From: "Emmanuel" <Emmanuel@newsgroup.nospam>
>References: <uJ5fFEH2EHA.4028@TK2MSFTNGP15.phx.gbl>
<osbuq0dga3igl12rth4is66la9bn6o4sa5@4ax.com>
>Subject: Re: Creating an Excel Automation Add-In using C#
>Date: Thu, 2 Dec 2004 17:50:22 +0200
[quoted text clipped - 8 lines]
>NNTP-Posting-Host: mail.tricom.gr 83.235.219.178
>Path:
cpmsftngxa10.phx.gbl!TK2MSFTFEED02.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP12
phx.gbl
>Xref: cpmsftngxa10.phx.gbl microsoft.public.dotnet.framework.interop:27962
>X-Tomcat-NG: microsoft.public.dotnet.framework.interop
[quoted text clipped - 19 lines]
> it does work for "=Add(1,2)" but NOT for "=Add(A1,A5)".
> I discovered by myself how to achive this but without documentation.
I can not reproduce the problem, the =Add(A1,A5)" or =Add(1,2) will both
work.
Based on my test with samples below.
http://www.codeproject.com/dotnet/excelnetauto.asp
or
http://blogs.msdn.com/eric_carter/archive/2004/12/01/273127.aspx
You may have a try on another machine to see if that works.
>Q2. If the data supplied by my application change, how can I force Excel to
> recalculate all my add-in functions. F9 does not work. The only way I
> have found so far is to select the cell that has the function, then
>press F2
> then press ENTER.
This may be caused that you did not turn on the Excel automatic calculation
option.
You may navigate to Tools/Options/Calculation
in the Calculation section, please check the Automatic, so that the formula
will be re-calculated automatically.
>Q3. For some strange reason when I select the Add-in functions from
> Tools->Add-In->Automation... (Excel 2003) I get the message
> "Cannot find add-in 'mscoree.dll'. Delete from the list?" If I answer
> No the function seem to work OK.
You may try take a look at the linke below.
http://www.codeproject.com/dotnet/excelnetauto.asp?df=100&forumid=78701&sele
ct=896559#xx896559xx
Find the "Unable to find mscoree.dll"
=====
When I ran this I received the error "Unable to find mscoree.dll". I did
some research and discovered that some applications are unable to find it
when the full path is not specified in the registry.
To fix this we need to add the following to the end of the RegisterFunction
method:
Microsoft.Win32.RegistryKey key =
Microsoft.Win32.Registry.ClassesRoot.CreateSubKey(
"CLSID\\{" + t.GUID.ToString().ToUpper() +
"}\\InprocServer32");
key.SetValue("", @"C:\Windows\System32\mscoree.dll");
======
>Anyway I think that some documentation would clear up some issues.
>
>Thank you
>
>Emmanuel