Excel Add-in from Access 
Author Message
 Excel Add-in from Access

I noticed that Excel behaves differently when I launch it from access.

I launch access using the following
Set objXLApp = CreateObject("Excel.Application")

I tried to use the yield function (which is an add-in and looking at the
add-ins it is selected), but it returns #name

If I start excel from windows the yield function works fine.  

Is there something special I need to do to activate the add-ins when I
am using excel from Access?



Sun, 01 May 2005 07:00:29 GMT  
 Excel Add-in from Access
Yes, look at the RegisterXLL method of the Application object in Excel..
Something like:

(xl.RegisterXLL( xl.LibraryPath & "\Analysis\Analys32.xll"))

  -- Dev



Quote:
> I noticed that Excel behaves differently when I launch it from access.

> I launch access using the following
> Set objXLApp = CreateObject("Excel.Application")

> I tried to use the yield function (which is an add-in and looking at the
> add-ins it is selected), but it returns #name

> If I start excel from windows the yield function works fine.

> Is there something special I need to do to activate the add-ins when I
> am using excel from Access?



Tue, 03 May 2005 05:29:23 GMT  
 
 [ 2 post ] 

 Relevant Pages 

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

2. Excel wrongly loading Access database add-in

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

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

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

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

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

8. Access to Excel; Excel to Access

9. Problem opening Excel Addin with Excel application object

10. Excel Add-in and internal name of Excel Application

11. Excel Add-in and internal name of Excel Application

12. Adding menu item for Excel Add-In

 

 
Powered by phpBB® Forum Software