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

SNA400

Board Regular
Joined
Nov 5, 2010
Messages
52
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

Why are there 1,048,576 rows in Excel?
The Excel team increased the size of the grid in 2007. There are 2^20 rows and 2^14 columns for a total of 17 billion cells.
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,224,824
Messages
6,181,187
Members
453,020
Latest member
Mohamed Magdi Tawfiq Emam

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