Delphi-PRAXiS

Delphi-PRAXiS (https://www.delphipraxis.net/forum.php)
-   Sonstige Fragen zu Delphi (https://www.delphipraxis.net/19-sonstige-fragen-zu-delphi/)
-   -   Excel startet ohne Add-Ins (https://www.delphipraxis.net/154357-excel-startet-ohne-add-ins.html)

AEMehser 8. Sep 2010 10:02

Excel startet ohne Add-Ins
 
Wenn ich eine neue Excel Applikation starte mit:

V := CreateOLEObject('Excel.Application');

startet das Excel leider ohne Add-Ins. Die werden zwar als registriert angezeigt, die Funktionen sind aber irgendwie deaktiviert.
Bei Aufruf so einer Funktion kommt Fehler #Name

Woran kann das liegen?

Vielen Dank
Alex Mehser

simmi 8. Sep 2010 10:43

AW: Excel startet ohne Add-Ins
 
1. Welche Version von Excel?
2. Welches Betriebssystem?

AEMehser 8. Sep 2010 10:55

AW: Excel startet ohne Add-Ins
 
Excel 2007
Windows7

Beim Add-In handelt es sich um das Bloomberg Add-In

simmi 8. Sep 2010 18:23

AW: Excel startet ohne Add-Ins
 
Habe mal im Web nach diesem ADD IN geschaut. Leider habe ich damit keine Erfahrung. Da es kein MS Produkt ist kann es möglich sein, dass dieses beim Aufruf von Excel 2007 einfach inaktiv ist und an bestimmte Tabellen oder durch bestimmte Tabellenelemnte erst aktiviert wird.

Weiter schaue mal was ich hier gefunden habe http://www.office-loesung.de/ftopic315230_0_0_asc.php, vielleicht hilft Dir das.

AEMehser 8. Sep 2010 19:59

AW: Excel startet ohne Add-Ins
 
Vielen Dank für die Mühe.

LG
Alex

idealist 29. Mär 2011 14:04

AW: Excel startet ohne Add-Ins
 
Zitat:

Zitat von AEMehser (Beitrag 1048145)
Wenn ich eine neue Excel Applikation starte mit:
V := CreateOLEObject('Excel.Application');
startet das Excel leider ohne Add-Ins.

Hast du eine Lösung dafür gefunden?

Armin_Biernaczyk 25. Mär 2014 19:16

AW: Excel startet ohne Add-Ins
 
Hatte exakt das gleiche Problem. Lösung ist:

ExcelApplication := CreateOleObject('Excel.Application');
i := ExcelApplication.AddIns.Count;
while i>0 do begin
if CompareText(ExcelApplication.AddIns[i].Name, 'MEIN_ADDIN.xll')=0 then
ExcelApplication.RegisterXLL(ExcelApplication.AddI ns[i].Fullname);
Dec(i);
end;


Alle Zeitangaben in WEZ +1. Es ist jetzt 12:26 Uhr.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
LinkBacks Enabled by vBSEO © 2011, Crawlability, Inc.
Delphi-PRAXiS (c) 2002 - 2023 by Daniel R. Wolf, 2024 by Thomas Breitkreuz