VBA Error - Driver does not support this function

myalo

New Member
Joined
Oct 19, 2013
Messages
2
I have an Excel macro that connects to a Foxpro table. It was working for long time. Recently when running the same Excel file on Windows 7 machine it fails with Excel VBA error Driver does not support this function (-2147467259) It is still working fine from XP computer using Excel 2003 or 2007
Setup on windows 7 64 bit OS
Outlook 2007 VBA macro: VBA Project References Microsoft ActiveX Data objects 2.7 Library (I tried 2.8 and 2.6 and the same results) The connection string: "Driver={Microsoft Visual FoxPro Driver};SourceType=DBF;SourceDB=\serverpath\;Exclusive=No;"
It fails on connection object.open Any idea?
Thanks in advance Moshe
 

Excel Facts

Format cells as time
Select range and press Ctrl+Shift+2 to format cells as time. (Shift 2 is the @ sign).

Forum statistics

Threads
1,214,911
Messages
6,122,198
Members
449,072
Latest member
DW Draft

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top