Thanks to everybody for your replies.  I have got working again using
Provider=Microsoft.Jet.OLEDB.4.0

-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Anthony 
Maluenda
Sent: 15 May 2015 15:28
To: [email protected]
Subject: RE: CopyToExcel (Craig Boyd)

I think I encountered this kind of issue before.  It has something to do with 
64 bit driver not visible to 32 bit FoxPro.

I installed this on the workstation to resolve the issue:

https://www.microsoft.com/en-us/download/details.aspx?id=13255

Anthony

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Richard Kaye
Sent: Friday, May 15, 2015 10:20 AM
To: [email protected]
Subject: RE: CopyToExcel (Craig Boyd)

Excel version number mismatch?

--

rk
-----Original Message-----
From: ProfoxTech [mailto:[email protected]] On Behalf Of Paul Newton
Sent: Friday, May 15, 2015 10:16 AM
To: [email protected]
Subject: CopyToExcel (Craig Boyd)

Hi all

I have been using Craig's CopyToExcel function but it has recently stopped 
working (maybe since installing Office 2013 ?).  Prior to 2013 I had Office 
2010 and CopyToExcel worked flawlessly.

The relevant lines of code are:

                m.loConnection = CreateObject ( "ADODB.Connection")
                m.loConnection.ConnectionString = 
[Provider=Microsoft.ACE.OLEDB.12.0;Data Source="] + m.tcXLSFile + [";Extended 
Properties="Excel 12.0 Xml;HDR=Yes;";]
                m.loConnection.Open()

It is failing on the Open() and the error message says "Provider cannot be 
found.  It may not be properly installed ..."

Any ideas?

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.

Reply via email to