Data Extraction From Web Charts Through VBA Coding

Kalu Mohanty

New Member
Joined
Jun 5, 2018
Messages
1
Hi Team,

I am trying to extract data from web charts.

If we hover on charts we are able to see the values of each field. So, for this I have to note down all the values in excel sheet. This is really time taking.

for your reference purpose in the below web address there is trend chart, if we hover on it the values are highlighted just below of the chart heading.
Link: https://www.x-rates.com/graph/?from=USD&to=INR&amount=1

In addition to, I would like to confirm is there any way to extract data from Tableau server/application through VBA coding.

Could you please guide.


Regards,
Kalu Mohanty
 

Rijnsent

Well-known Member
Joined
Oct 17, 2005
Messages
1,151
Office Version
365
Platform
Windows
Hi Kalu,
I don't know how your VBA & javascript skills are, but in the source of that page, the data for that chart comes from here: https://x-rates.com/graph/currates.php?from=USD&to=INR&amount=1
The issue is that they use some javascript functions to transform that data into the numbers you see, mainly decodeRatesData and decode64. If I grab the raw answer I see in my browser (from that url above) and plug it into a javascript fiddle I get this:
https://jsfiddle.net/8vqm9rjL/ -> there you can see the raw data that is produced in the chart, but it will take some Javascript skills to get the right numbers.
If the source doesn't matter, you could check out this post of mine and replace the GBP-USD example with your INR-USD: https://www.mrexcel.com/forum/excel-questions/1113858-function-get-fx-rates-post5366639.html#post5366639
Hope that helps,
Koen
 

Forum statistics

Threads
1,081,862
Messages
5,361,740
Members
400,653
Latest member
ProParadox

Some videos you may like

This Week's Hot Topics

  • populate from drop list with multiple tables
    Hi All, i have a drop list that displays data, what i want is when i select one of those from the list to populate text from different tables on...
  • Find list of words from sheet2 in sheet1 before a comma and extract text vba
    Hi Friends, Trying to find the solution on my task. But did not find suitable one to the need. Here is my query and sample file with details...
  • Dynamic Formula entry - VBA code sought
    Hello, really hope one of you experts can help with this - i've spent hours on this and getting no-where. .I have a set of data (more rows than...
  • Listbox Header
    Have a named range called "AccidentsHeader" Within my code I have: [CODE]Private Sub CommandButton1_Click() ListBox1.RowSource =...
  • Complex Heat Map using conditional formatting
    Good day excel world. I have a concern. Below link have a list of countries that carries each country unique data. [URL...
  • Conditional formatting
    Hi good morning, hope you can help me please, I have cells P4:P54 and if this cell is equal to 1 then i want row O to say "Fully Utilised" and to...
Top