Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.
Hi all, please see this major site announcement: https://www.boards.ie/discussion/2058427594/boards-ie-2026

VBA Code

  • 08-01-2014 05:27PM
    #1
    Registered Users, Registered Users 2 Posts: 7


    Hi, I am trying to write VBA code to download a Zip file from a URL. This is part of a code to generate QR codes from a website which places them in a zip file. Each time the code is run the Zip file name changes so using Getelementbytag won't work. Any help will be appreciated.


Comments

  • Registered Users, Registered Users 2 Posts: 851 ✭✭✭TonyStark


    Tobi101 wrote: »
    Hi, I am trying to write VBA code to download a Zip file from a URL. This is part of a code to generate QR codes from a website which places them in a zip file. Each time the code is run the Zip file name changes so using Getelementbytag won't work. Any help will be appreciated.

    Got some code specifically that is not working?


  • Registered Users, Registered Users 2 Posts: 7 Tobi101


    No, I've tried looking for similar cases but can't seem to string it together and they all seem to be for a specific Zip file. So i am basically trying to look for help from scratch.


  • Closed Accounts Posts: 136 ✭✭MacBoogerBalls


    Basically you need to get file file name of the ZIP file to download.
    Is the Web server public or private?

    Can you enable directory browsing on the Web folder? or else host a text file with list of files and parse that?


  • Registered Users, Registered Users 2 Posts: 7 Tobi101


    This is the website,

    http://qrexplore.com/generate/

    You should be able to generate a few QR codes for free under 100, and anything over 5 codes creates the ZIP if you want an example.


  • Registered Users, Registered Users 2 Posts: 26,449 ✭✭✭✭Creamy Goodness




  • Advertisement
Advertisement