Unable to grab table using GetData>FromWeb; can see in web view only

doogis2003

New Member
Joined
Jun 2, 2020
Messages
16
Office Version
  1. 365
Platform
  1. Windows
Hello,

I tried using the Get Data > From Web feature to grab an exchange rate table from the following site: Rates Page

There isn't any table data in Table View but I can see it in Web View with the message "Table highlighting is disabled because the page uses Internet Explorer's Compatibility Mode. I'm realizing that the way the website generates this table means I can't use the Get Data > From Web method.

Is there a workaround to copy this table data using VBA or another method?

Thank you,

AC
 

Excel Facts

How to show all formulas in Excel?
Press Ctrl+` to show all formulas. Press it again to toggle back to numbers. The grave accent is often under the tilde on US keyboards.
To elaborate on Power BI trial, I am in Canada. With VPN on, server through USA I can refresh data. I drop the VPN, refresh and data disappears. Either way, the VPN/region does not seem to have any impact on Excel which is where I need to pull the data to.

Do you think the region change effect on Power BI is purely coincidence or a symptom of the issue?
 
Upvote 0
Mexico is working similar to US; Germany is a no similar to Canada (for Power BI)

Still no effect on Excel
 
Upvote 0
Sandy666, thanks for all your help so far!

If anyone else has any ideas, would be appreciated!
 
Upvote 0
This worked for me:

VBA Code:
Public d As ChromeDriver

Sub withC()
Dim tb As Object
Set d = New ChromeDriver
d.get "https://rates.currencywholesale.com/rates/rates.html"
Set tb = d.FindElementByXPath("//*[@id=""currency_table""]")
d.Wait 2000
tb.AsTable.ToExcel ThisWorkbook.Worksheets("Sheet1").[a1]
End Sub
 
Upvote 0
Thanks Worf, I'll give that a try. Do I have to install an extension for ChromeDriver?
 
Upvote 0

Forum statistics

Threads
1,213,535
Messages
6,114,198
Members
448,554
Latest member
Gleisner2

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