Get data from website with Excel 365 for Mac

mwollert

New Member
Joined
Jul 13, 2020
Messages
27
Office Version
  1. 365
Platform
  1. Windows
Looking for some help with a workbook that gets data from a website. I want to be able to use the workbook on both a Windows DesktopNotebook and also a MacBook Air.

I am using a Power Query and it works fine on the PC but will not work on the Mac. On the Mac I get I a message "Security warning: External Data Connections have been disabled." When I click "Enable content", I get a error message "[Expression.error] the import web.page matches no exports. Did you miss a module reference?"

Looking for some advise on how to create a connection that will work on both Windows and iOS.

I'm using the Advanced Editor in Windows to create the link that works fine on the PC.

VBA Code:
let
    Source = Web.Page(Web.Contents("https://www.tsp.gov/fund-performance/share-price-history/")),
    Data0 = Source{0}[Data],
    #"Changed Type" = Table.TransformColumnTypes(Data0,{{"Date", type date}, {"L Income", Currency.Type}, {"L 2025", Currency.Type}, {"L 2030", Currency.Type}, {"L 2035", Currency.Type}, {"L 2040", Currency.Type}, {"L 2045", Currency.Type}, {"L 2050", Currency.Type}, {"L 2055", Currency.Type}, {"L 2060", Currency.Type}, {"L 2065", Currency.Type}, {"G Fund", Currency.Type}, {"F Fund", Currency.Type}, {"C Fund", Currency.Type}, {"S Fund", Currency.Type}, {"I Fund", Currency.Type}}),
    #"Sorted Rows" = Table.Sort(#"Changed Type",{{"Date", Order.Asending}})
in
    #"Changed Type"

The website in question is : https://www.tsp.gov/fund-performance/share-price-history/

Any assistance will be greatly appreciated. Thanks
 

Excel Facts

Which came first: VisiCalc or Lotus 1-2-3?
Dan Bricklin and Bob Frankston debuted VisiCalc in 1979 as a Visible Calculator. Lotus 1-2-3 debuted in the early 1980's, from Mitch Kapor.
You need to be subscribed to the Insider version

Thank you for the response. I am a subscribed to Insider version and my Office Apps show up to date, but I still cannot get the link to a website to work.

I don't see a option to edit the code for the link either on the Mac like I see on the Windows version.


Here is all I can see for the link on the Mac.


View attachment 71046



And this is what I am use to in Windows

Screen Shot 2022-08-07 at 8.38.47 PM copy.jpg



Any suggestions?
 
Upvote 0
The HTML connector has not yet been released for Excel Mac.
 
Upvote 0

Forum statistics

Threads
1,215,596
Messages
6,125,732
Members
449,255
Latest member
whatdoido

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