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
On 29/03/2017 09:39, Paul Newton wrote:
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
Do you have a repair option in control panel / programs?
Peter
This communication is intended for the person or organisation to whom it is addressed. The contents are confidential and may be protected in law. Unauthorised use, copying or disclosure of any of it may be unlawful. If you have received this message in error, please notify us immediately by telephone or email.
www.whisperingsmith.com
Whispering Smith Ltd Head Office:61 Great Ducie Street, Manchester M3 1RR. Tel:0161 831 3700 Fax:0161 831 3715
London Office:17-19 Foley Street, London W1W 6DW Tel:0207 299 7960
Paul, Try new admin command window and: excel /regserver
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]
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]
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]
Glad to help!
Dave
-----Original Message----- From: ProFox [mailto:profox-bounces@leafe.com] On Behalf Of Paul Newton Sent: 29 March 2017 13:36 To: profox@leafe.com Subject: RE: Excel class not registered
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]