Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default May be Automation AddIn loading problem!!

Hi,

We have a bunch of Excel sheets with data being filled in by code in VB
modules. To improve performance we want to convert the code in a Automation
DLL and delete the old module code. We do not want to touch any of the cell
formulas and the idea was, as the function name and signature in the DLL is
same as was in the modules, Excel should now just read the function code
from the DLL. But the Excel sheets data is not getting calculated giving
#NAME? everywhere. However putting fully qualified path
AutomationAddin.Connect.func(arg1) works. It is impossible to add that prefix
in thousands of formulas in all my worksheets so that's not a solution.
Function binding sequence order in Excel is Excel built-in function - VBA
Function -.XLA Regular Addin -Automation AddIn functions. But in my case
the function used is only avaialable in the DLL. One observation I had is
that when I open Excel and load the Automation AddIn the functions in the DLL
are seen in the Insert-Function section when we choose the Automation AddIn,
but when I launch Excel from my application, the AddIn check box in Tools
-Load is cheked, but the functions do not appear in the function section.
This tells me that on launching from my application the AddIn did not load
properly. FYI my sheets are protected.

Question :

a) Is there any way I can make my sheets get the data without changing any
code in them while using the Automation AddIn DLL.
b) For Automation AddIn once we load it we should have the function right?
Do not need to put it in any XAStart directory.
c) Also in another article here somebody mentioned that if the excel
shortcut has some command line switch excel does not load the AddIn. Could
that be a problem.
d) Does anybody know if I will save loading time in this method. I have a
lot of function call?

Can anybody help me with this. I had an earlier post on this but did not get
a solution. So I am reposting again the problem.

Thanks in advance
Abhijit
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
addin loading issue howiefan Excel Discussion (Misc queries) 3 December 1st 04 11:10 PM
Excel Automation - loading text files varsha kashyap Excel Programming 0 October 18th 04 10:13 AM
Run Macro when loading addin Mary[_7_] Excel Programming 3 September 7th 04 11:17 PM
Automation COM Addin with Excel Puneet Excel Programming 0 July 12th 04 07:50 PM
Changing the Name of an Addin and loading worksheets off a network drive MikeCave[_2_] Excel Programming 0 June 4th 04 10:59 AM


All times are GMT +1. The time now is 01:29 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"