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

Lock one reference in a formula
Need 1 part of a formula to always point to the same range? use $ signs: $V$2:$Z$99 will always point to V2:Z99, even after copying
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,337
Messages
6,124,340
Members
449,155
Latest member
ravioli44

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