Make sure you open the cmd window in the actual excel folder or cd to the folder.
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Paul Newton Sent: 29 March 2017 09:39 To: profox@leafe.com Subject: Excel class not registered
Hi all
Whilst testing AssocQueryString I temporarily renamed EXCEL.EXE. When finished I restored the original name. However, now: CreateObject('Excel.Application') returns an OLE error code 0x80040154: Class not registered.
Any suggestions welcome. Thanks
Paul Newton
[excessive quoting removed by server]