I am using ExcelDNA to write an add-in to replace a legacy *.xlam addin. I'm seeing some strange behavior. There are some functions in the .xlam one, for example,
![]()
So if I had a cell formula like =AddMonths(DOB, 10) all is good. My new DNA addin that is replacing this function has same function but named SpecAddMonths. So no name collisions that I can think of, but when I open Excel with both the *.xlam and DNA addins loaded, the function appears as:
='C:\Program Files\Microsoft Office 15\root\office15\Library\BTRTools\BTR.Extensibility.Excel.xll'!GetDataConfig("is-active")
If I remove the .xll add in and reopen the file, it all works fine. I've tried going through the file and removing the path for all the formulas while both add-ins are loaded and then save and open and I get the same problem.
Any ideas? I know I'm replacing the old with the new so eventually I will not have both loaded at once, but I was writing a conversion function in the new one to migrate all the cell formulas correctly to the latest version so temporarily, I do need them both open.
Thanks in advance,
Terry