Make this a Global variable by moving it above all the code, that is, outside the routine.

Dim URL As String

Remove this line:

URL = InputBox("Enter the download URL below.", "Download from Internet")

Then, having populated your form and selected the files to be downloaded, loop through the list, putting each one in the URL variable and calling the DownloadFilefromWeb subroutine.

Regards