Thanks, couple of follow up questions:
1)When compiling the first project does the DLL name(or the project
name) has to be same as the XLL and DNA name? i.e. if the first
project is called firstProject and generates a DLL of
firstProject.DLL, does the XLL and DNA file name also has to be
firstProject.XLL and firstProject.DNA or it can be MyAddin.XLL and
MyAddin.DNA and within the DNA file I can point to firstProject.DLL
i.e. it is not necessary that MyAddin.DLL has to exist. If the DLL is
deployed by creating a new folder, can there be only 3 files in that
folder; MyAddin.DNA, MyAddin.XLL and firstProject.DLL; MyAddin.DNA has
firstProject.DLL included as external library.
2)As to your reply using the "Name" argument in ExcelFunction, after
it is included as you described and called from VBA, will it still get
the last function with similar name even though they are in different
DLLs or namespaces? i.e. if I have myFunction1 in firstProject and
secondProject named as ExcelFunction(Name="firstProject.MyFunction1")
and ExcelFunction(Name="secondProject.MyFunction1") can I state as
Application.Run("firstProject.MyFunction1", arg1,arg2....) and
Application.Run("secondProject.MyFunction1", arg1,arg2....) and it
will pickup the respective functions from firstProject and
secondProject?
Thanks in advance for your patience with these basic questions.
> > ("secondProject.MyFunc1",param1, param2..)- Hide quoted text -
>
> - Show quoted text -