Glad to help! Dave
-----Original Message----- From: ProFox [mailto:[email protected]] On Behalf Of Paul Newton Sent: 29 March 2017 13:36 To: [email protected] 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:[email protected]] On Behalf Of Dave Crozier Sent: 29 March 2017 11:41 To: [email protected] 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:[email protected]] On Behalf Of Paul Newton Sent: 29 March 2017 09:39 To: [email protected] 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] _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

