VBA - Refresh Power Query gives error with Microsoft.Mashup.OleDb.1

jmattus

Board Regular
Joined
Mar 2, 2007
Messages
137
I have a simple Power Query that is trying to be refreshed. It accesses a web table. No credentials are needed. The code works fine on my machine. However, when another user tries the exact same file/program on a different machine, they get this error:

The 'Microsoft.Mashup.OleDb.1' provider is not registered on the local machine.

Here is the code I am using:

Code:
wb.Connections("Query - PickedPlansTblQry").OLEDBConnection.Refresh

I am using Excel 2016. The other person is using 2013. Suggestions?

Thanks for any help.

J
 

Excel Facts

Create a Pivot Table on a Map
If your data has zip codes, postal codes, or city names, select the data and use Insert, 3D Map. (Found to right of chart icons).
So I found the answer. The issue was that Power Query is not automatically a part of Excel 2013 and it needed to be installed. After that, viola! it works.

Posted this answer for anyone else having the same issue.

J
 
Upvote 0

Forum statistics

Threads
1,224,823
Messages
6,181,182
Members
453,021
Latest member
Mohamed Magdi Tawfiq Emam

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