How to download the file by passing the url from excel file using macro

mayaa_mmm

Board Regular
Joined
Jul 30, 2014
Messages
54
Office Version
  1. 2010
Platform
  1. Windows
Example: I have the list of the url in a column.

https://tools.xxx.com/xxx/publh/doc/DocRet?NO=60-8&Rev=&RCN=&Org_Id=1&OrgID=1
https://tools.xxx.com/xxx/publh/doc/DocRet?NO=60-1&Rev=&RCN=&Org_Id=1&OrgID=1
https://tools.xxx.com/xxx/publh/doc/DocRet?NO=60-2&Rev=&RCN=&Org_Id=1&OrgID=1

1. I have the list of links but only number after = symbol will vary.

2. If these links are secured, every time it is asking for password and username. It should ask for the first time of the opening the url but not for every time.

3. These links have more than two links which has pdf to be download
Example: https://tools.xxx.com/xxx/publh/doc/DocRet?NO=60-8&Rev=&RCN=&Org_Id=1&OrgID=1

60-8-01.pdf
60-8-02.ite

I need to download these two files and name as the same name.

Kindly help me with this issue. Thank you in advance.
 

Excel Facts

Copy PDF to Excel
Select data in PDF. Paste to Microsoft Word. Copy from Word and paste to Excel.

Forum statistics

Threads
1,214,991
Messages
6,122,628
Members
449,095
Latest member
bsb1122

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