Running OLE between Excel and my ERP fails in Windows 10

tmcmurra

New Member
Joined
Jul 24, 2017
Messages
1
Hi all,
I have an issue that just appeared when I upgraded a user to Windows 10 from Windows 7. We have a macro that uses an OLE process to transfer data from Excel to an ERP named Made2Manage. In Win7, this macro worked fine, but in Win 10 I get a Error 91 when the macro tries to load the OLE program. Here's how it works:

The user types in a sales order in Excel, then user selects "Save to Quote" which runs the macro which loads M2MOLE.exe, which opens up the connection so that the sales order can be uploaded to Made2Manage.

In my troubleshooting I confirmed a couple of things. If I run both Excel and Made2Manage as Administrator, this issue goes away. But as you know, running in admin mode limits my ability to load/save files as the actual user. If I try to set the m2mole.exe file to "Run as administrator" I get the 'this process requires elevation' error.

I'm sort of at my wit's end.
 

Excel Facts

VLOOKUP to Left?
Use =VLOOKUP(A2,CHOOSE({1,2},$Z$1:$Z$99,$Y$1:$Y$99),2,False) to lookup Y values to left of Z values.

Forum statistics

Threads
1,223,911
Messages
6,175,337
Members
452,637
Latest member
Ezio2866

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