Create data connection to javascript url

Lade

New Member
Joined
Jun 7, 2023
Messages
13
Office Version
  1. 365
Platform
  1. Windows
Hello,

I have a data set that I'm trying to link to my excel sheet. Right now I have to go to the website and click a link that then downloads an excel file for me to import to my sheet. I'm trying to automate that process.
The problem is that the link address to download that file is a Javascript url and when I try to Get Data -> From Web and paste that url, I get an error saying it's not the correct format.
Is there a different way to make a connection to this link?

Thanks,
David
 

Excel Facts

Is there a shortcut key for strikethrough?
Ctrl+S is used for Save. Ctrl+5 is used for Strikethrough. Why Ctrl+5? When you use hashmarks to count |||| is 4, strike through to mean 5.
If there is some logic and consistency in the JS link you could generate a string that represents the final URL.
Since JavaScript is human-readable, just open the Inspector in the browser of your choice, snoop around a little bit and maybe you find a function that creates the url.

Would you mind giving an example of such a JavaScript link? Or the address to this website?
 
Upvote 0

Forum statistics

Threads
1,215,326
Messages
6,124,270
Members
449,149
Latest member
mwdbActuary

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