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

Copy formula down without changing references
If you have =SUM(F2:F49) in F50; type Alt+' in F51 to copy =SUM(F2:F49) to F51, leaving the formula in edit mode. Change SUM to COUNT.

Forum statistics

Threads
1,215,692
Messages
6,126,227
Members
449,303
Latest member
grantrob

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