Is Excel VBA and WinHttp the right solution?

lzr

Board Regular
Joined
Aug 31, 2007
Messages
52
I have little experience working with API’s, so I was hoping for some confirmation/direction on my plan.

Excel will have my search criteria for documents in column A, B and C - for example, City, Image1 and Image2. There could be a few to hundreds of records (each record representing a pdf file).

Using a website’s API (Basic Authorization) a search would be performed for each record – ie city/Image1/Image2. If found, a file number should be returned from the site, which would then allow a download of the applicable pdf file to a local folder. I don’t really need to bring any data back into Excel per se, other than possibly a Success/Fail status for each record.

I’m thinking this could all be handled (by someone with actual knowledge) in excel VBA, possibly using WinHttp. Am I on the right path or is there a more logical approach?

Thanks.
 

Excel Facts

Pivot Table Drill Down
Double-click any number in a pivot table to create a new report showing all detail rows that make up that number

Forum statistics

Threads
1,223,911
Messages
6,175,333
Members
452,636
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