Is it possible to open an Excel file developed with Office 2016 (32 bit) which includes incompatible instructions (in macros) with Office 365 (64 bit) from Office 365 (64 bit)? Like an add-in or something... We refer to something like right clicking the file and opening it in another way or Excel 365 being able to recognize the source of the problem and trying to open it in another way.
The problem is that we have over a thousand Excel files and it's not possible to modify every each of them.
Here is the first example of the code:
Option Explicit
Private Declare Function GetPrivateProfileString Lib "kernel32" Alias "GetPrivateProfileStringA" ( _
ByVal lpApplicationName As String, _
ByVal lpKeyName As String, _
ByVal lpDefault As String, _
ByVal lpReturnedString As String, _
ByVal nSize As Long, _
ByVal lpFileName As String) As Long
Private Declare Function WritePrivateProfileString Lib "kernel32" Alias "WritePrivateProfileStringA" ( _
ByVal lpApplicationName As String, _
ByVal lpKeyName As String, _
ByVal lpString As String, _
ByVal lpFileName As String) As Long
The declaration Private Declare Function is not compatible with Office 365.
Here is the second example of the code:
cn.Open "Driver={MySQL ODBC 3.51 Driver}" & _
";Server=" & Server_Name_INI & _
";Database=" & DB_Name_INI & _
";Uid=" & User_ID & _
";Pwd=" & Password & ";"
The driver MySQL ODBC 3.51 Driver is not compatible with Office 365.
We know that we could fix it by replacing these instructions with the compatible ones. The thing is that we have over a thousand files and this solution would take us too much time.
Any help would be really appreciated!