Excel wrongly loading Access database add-in 
Author Message
 Excel wrongly loading Access database add-in

With both Excel 2000 and 2002, Excel wrongly insists on trying to load any microsoft
database locking file (*.ldb file) located in the addins folder (I'm using Windows 2000
sp2.)  The addins folder is "c:\documents and settings\Administrator\Application
Data\Microsoft\Addins"

That's where the Access add-ins belong, so why would Excel trying to load it?  Is there
any workaround or fix?

To reproduce the error:
1. open any access 2000 or 2002 database.
2. open any custom add-in, such as Rick Fisher's Find and Replace (under Tools, Addins)
3. then open any excel 2000 or 2002 worksheet.
4. select Tools, Add-ins from the menu.

You will get the following error message, replacing <AccessAddinName> with the actual
filename of your addin (in my case, it was "replace9"):
" '<AccessAddinName>.ldb' cannot be accessed.  The file may be read-only, or you may be
trying to access a read-only location.  Or, the server the document is stored on may not
be responding."

It's an annoying problem because it interferes with automating Excel (if you need to load
any Excel addins as I do, such as the toolpak functions).  I guess I'll have to look up
the Access code and use it to unload the access add-in everytime I want to use an excel
add-in.



Tue, 17 Feb 2004 10:26:39 GMT  
 Excel wrongly loading Access database add-in
Excel does not behave this way for me.  Any chance that your "Alternate
startup file location" setting under Tools, Options, General points there?

--
Jim Rech
Excel MVP



Tue, 17 Feb 2004 20:10:31 GMT  
 Excel wrongly loading Access database add-in
Thanks, but no on the alternate location.  This bug HAS been confirmed by other people.
(You have to have an access add-in installed AND it has to use the "legal" location for
addins AND you have to open it before trying the excel bug.)
Quote:

> Excel does not behave this way for me.  Any chance that your "Alternate
> startup file location" setting under Tools, Options, General points there?

> --
> Jim Rech
> Excel MVP



Wed, 18 Feb 2004 01:13:22 GMT  
 
 [ 3 post ] 

 Relevant Pages 

1. Running excel add-in (added into excel - not access) in Access VBA

2. ASP,Excel: Display date wrongly.

3. Excel 97 Addin not loading when launched from VB

4. Problem loading Excel named areas into database

5. Excel Database, Add New Information?

6. Excel Add-in from Access

7. how to add a new dataset from excel to access by means of vba

8. Add-In/Utility to cleanup Access Excel export

9. Announcement: Excel Addin and SDK simplifies access to Microsoft OLAP Server

10. read excel file in access 2000 lire fichier excel dans access 2000

11. OLE Access Excel (Datenimport von Excel in Access - muss nicht OLE sein)

12. How to save and load images to/from Access Database

 

 
Powered by phpBB® Forum Software