Best way to feed query data to web SQL page and get data back???

SNA400

Board Regular
Joined
Nov 5, 2010
Messages
51
Hi All

Hope someone can help.

We currently have to manually check 8 digit Commodity Codes on the UK Trade Tariff to find out the full 10 digit import code across multiple lines - anything up to 200 lines - and I was wondering if there was any way we could pass the 8 digit code, via a single column in an excel spreadsheet, to the Trade Tariff and get data back like the 10 digit code, whether the goods are dutiable, if there are any restrictions etc.

I know that there is a way to get this data via SQL using Python to query an API - but thats it - I know nothing about Python, HTML coding or SQLite, but I do know VBA for Excel a bit so was wondering if it could be done via that.

I know its a long shot but any help would be appreciated :)

Simon
 

Excel Facts

Does the VLOOKUP table have to be sorted?
No! when you are using an exact match, the VLOOKUP table can be in any order. Best-selling items at the top is actually the best.
With VBA you could use XML http to send a GET request to the API to request the data. Set a reference to Microsoft XML, v6.0 in Tools->References in the VBA editor to make the XML library class names available to your VBA project.
 
Upvote 0

Forum statistics

Threads
1,223,911
Messages
6,175,327
Members
452,635
Latest member
laura12345

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