I am using Excel 2010 on my new Windows-11.
My problem is; the below simple ADO code returns an error saying that;
"'Method Properties' of object '_Connection' failed"
on line "adoCN.Properties("Data Source") = myFile"
Before this line, no errors encountered so both of the adoCN and RS objects are created.
Please Login or Register to view this content.
The file is located in C:\TestFolder and executed as an Admin and also as a standard user but, nothing changes...
Also, none of the ADO related VBA codes are not working which were working on Excel 2010 / Windows-7
I guess something is going wrong with Win11 but i am not sure.
Is there anybody having a similar problem on Windows11 ?
Note: The same question is also posted on Stack Overflow in the link given below;
https://stackoverflow.com/questions/...nect-to-a-file
Bookmarks