Error 3706 when invoking Microsoft.Jet.OLEDB.4.0

fdeutsch

New Member
Joined
Mar 29, 2023
Messages
2
Office Version
  1. 365
  2. 2021
  3. 2019
Platform
  1. Windows
Hey everyone,

I've got xlsm files used by multiple devices to handle supervision at a client of mine, it works fine on older devices (win10 computers and win10 ARM tablets) but a newly installed windows 10 computer runs into an error at one point into the script when the code tries to invoke Microsoft Jet. I've tried to modify the code from
VBA Code:
Microsoft.Jet.OLEDB.4.0
to
VBA Code:
Microsoft.ACE.OLEDB.12.0
and the script was able to continue normally. Unfortunately this error is persists in all their other supervision files and I can't find a way to batch modify or modify from a template file.

I installed all the redistributables from Microsoft as well as the Access database engine and rebooted the PC but I still run into the same issue.

Does any of you have any idea of what I could do next ?

Thanks for your help.
 

Excel Facts

Highlight Duplicates
Home, Conditional Formatting, Highlight Cells, Duplicate records, OK to add pink formatting to any duplicates in selected range.
If that computer uses 64bit Office, then Jet will not work. I think you will have to alter the code in the files.
 
Upvote 0
Solution
If that computer uses 64bit Office, then Jet will not work. I think you will have to alter the code in the files.
Yes it uses 64bit Office, thanks for your reply, I'll see with my colleague who wrote the code to workaround this issue.
 
Upvote 0

Forum statistics

Threads
1,224,827
Messages
6,181,194
Members
453,021
Latest member
pingpong7117

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