I'm trying to find a way to apply a formula to a get data from web url.
So the url will look like:
http://www.thisurl.com/formula/restOfTheUrl
I'm new to this, so I tried recording the macro using the Advanced Get From Web function and breaking out the elements of the URL from there and substituting the formula in.
So the section of the code looked like this
If the code worked as expected, the url output would've been:
http://www.thisurl.com/6/restOfTheUrl
The error I'm getting is:
Run-time error '1004': Application-defined or object-defined error
I'm using the sum formula just for proof of concept & testing purposes.
The beginning of the macro that was recorded that leads into the formula-URL issue is:
I found this question being asked which is similar to what I am asking, but it is from 2002 and their answer doesn't line up with the output I'm seeing from the recorded macro.
https://www.mrexcel.com/forum/excel-questions/11732-perform-web-query-url-cell.html
Bookmarks