user1256813
user1256813

Reputation: 47

MS Excel : COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046}

I have not installed MS Office in my system.

I am getting the following error :

Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Query:

Query here is do i need to install complete MS Office or Excel 2007 application.Due to license issue we can not install MS Office 2007.

or

Installation of any run time office redistributable will fix the above issue?

Upvotes: 0

Views: 1575

Answers (1)

Ken White
Ken White

Reputation: 125749

In order to use COM automation with Excel, Excel has to be installed on the machine. There is no "Office redistributable" that will allow you to avoid doing so.

If you need Excel's functionality, you either have to install Excel or purchase and install a third-party equivalent that will create Excel-compatible files.

Upvotes: 2

Related Questions