Dave
Thanks - I didn't cd to the Excel folder the first time I tried but I did on the second attempt and it worked just fine
Cheers
Paul
-----Original Message----- From: ProfoxTech [mailto:profoxtech-bounces@leafe.com] On Behalf Of Dave Crozier Sent: 29 March 2017 11:41 To: profoxtech@leafe.com Subject: RE: Excel class not registered
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]