ComObject Excel.Anwendung ohne Office-Suite


Ich brauche zum Lesen eine Excel-Datei aus Powershell.

Ich bin mit diesem Objekt:

$objExcel=New-Object -ComObject Excel.Application

Es ist in Ordnung, die auf einem Rechner mit einer Office-installation, aber wenn Office nicht installiert, ich bekomme diese Fehlermeldung:

Retrieving the COM class factory for component with CLSID {} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

Gibt es einige runtime environment für Office verwenden?

InformationsquelleAutor Nk SP | 2014-04-30
Schreibe einen Kommentar