Hi,
We have an excel sheet with a number of macros written in VBA. In Office 2016 it works fine, but when we attempt to run the macros via 365 (Version : 18.2002.1101.0) we are met with this error:
Microsoft Excel
Source: Subroutine Run
Error Number: 3706
Error Desc: Provider cannot be found. It may not be properly installed.
Are there any known issues with upgrades from 2016 to 365 or any fixes you would recommend trying?
Edit: Debugging shows that it is definitely failing on the cnn.Open
...
Public cnn As New ADODB.Connection
...
cnn.ConnectionString = "Provider=SQLNCLI;Data Source=ourDataSource;User Id=OurId;Password=ourpassword;Initial Catalog=ourInitialCatalog;Failover Partner=ourFailoverPartner;"
cnn.Open