Get & Transform: An Alternative to Excel’s Web Browser

Import Web Data by Jeff Lenning

Excel has a built-in web browser that can be used to view web pages and import selected web data. This browser worked well for many years, but, recently, script errors began appearing on some pages. This makes it challenging to import data from some web pages, and frustrates users. The good news is that we can use a Get & Transform query as an alternative to opening Excel’s web browser.


Our goal is to import data from a web page. For example, we’d like to import some exchange rates from Google’s finance page. When we launch Excel’s web browser (Data > Get External Data > From Web), some pages show up just fine. This is illustrated below.

Google Home by Jeff Lenning

But, when we navigate to another page, we may get an intermittent script error. For example, if we try to navigate to Google’s Finance page shown below.

Script Error by Jeff Lenning

Often, you can refresh the page or close the browser and try again to get a clean page load, but, the error slows us down…and…we just don’t like being slowed down.

The good news is that we can retrieve web data using a Get & Transform query. This provides a clean alternative to Excel’s web browser. Let’s check it out.

Get & Transform Query

We’ll accomplish this with the following steps:

  • Enter the web page URL
  • Pick the data table
  • Load to Excel

We’ll work through each step together.

Note: The steps below are presented with Excel for Windows 2016. If you are using a different version of Excel, please note that the features presented may not be available or you may need to download and install the Power Query Add-in.

Enter the web page URL

To retrieve web data using a Get & Transform query, you’ll need to know the web URL. You can commit it to memory if it’s short and simple, or, just browse to the page in your normal browser and copy the web address. Next, you’ll want to use the following command from the Get & Transform ribbon group:

  • Data > New Query > From Other Sources > From Web

This displays the From Web dialog, where we can enter the desired URL, as shown below.

From Web by Jeff Lenning

We click OK to open the Navigator dialog, where we can pick the desired data table.

Pick the data table

The Navigator dialog displays the importable web tables that exist at the URL. You can click through the tables and get a preview of the data. Since we want the exchange rate table, we click through the tables until we find the one we want, as shown below.

Excel Navigator by Jeff Lenning

With the data table selected, it is time to move to the final step.

Load to Excel

We use the Load button to bring the data back into Excel. If we select Load, Excel will place the data into a blank worksheet. If we select Load To, Excel allows us to specify the destination. Either way, the data is loaded into Excel, as shown below.

Excel web data by Jeff Lenning

Now, the best part is that we can easily update the data table from within Excel. Just right-click and refresh…and Excel retrieves the current data. And…no pesky script errors!




Get a quick email notice when a new Excel article is available

  • This field is for validation purposes and should be left unchanged.

This article was written by Jeff Lenning


  1. Ron Yandell

    This is remarkable. Many times I have copied and past from web tables. Still learning. thanks

    1. jefflenning Post author

      Get & Transform is indeed remarkable my friend 🙂

  2. Miranda

    Very cool trick!!

  3. Hameed

    this is awesome, thank you very much.

    is there a way to autorefresh or refresh on open document?

    many thanks.

    1. Jeff Lenning Post author

      Yes…To do so, right-click the results table and select Table > External Data Properties. Then click the little “Connection Properties” icon. In the resulting Connection Properties dialog you can select refresh options, including refresh on open 🙂

      1. Hameed

        The you very much Jeff, you are a STAR..

        1. Jeff Lenning Post author

          Welcome thx 🙂

  4. Peta

    Hi Jeff
    I have Excel 2010 with Power Pivot add-in. Is there a work around for the script errors in this version.

    1. Jeff Lenning Post author

      I actually don’t have Excel 2010 here for testing, so, I’m unable to confirm. I’m hoping someone can help me out by posting a comment.

  5. Justin


    Is there a way to hold or keep the pulled data for a certain amount of time? In your example, let’s say I want to keep 1.106 from Column 2 for a week so that i can make a chart for changes over a seven-day period. Is that possible? If i only refresh, that data is gone.

    Thank you!

Leave a Reply to jefflenning Cancel reply

Your email address will not be published. Required fields are marked *

For security, use of Google's reCAPTCHA service is required which is subject to the Google Privacy Policy and Terms of Use.

I agree to these terms.