sassriverrat
Well-known Member
- Joined
- Oct 4, 2018
- Messages
- 655
So I have a wonderful piece of code that someone helped me put together. It downloads a file from a website (just a pdf from a cell-specified URL) and then time stamps it (so you can quickly download again for updates).
It references cell A1 for the URL... and I have 5 pieces that download currently (so 5 copies of this macro)....
Is it possible to have a piece of code that dynamically can add/delete vba. The idea being that if the user wants to add a new download, they can hit a button that would add the necessary code in place to copy the previous code but adding a new cell (so A6 now instead of A5 in the previous macro)? Hopefully this makes sense
It references cell A1 for the URL... and I have 5 pieces that download currently (so 5 copies of this macro)....
Is it possible to have a piece of code that dynamically can add/delete vba. The idea being that if the user wants to add a new download, they can hit a button that would add the necessary code in place to copy the previous code but adding a new cell (so A6 now instead of A5 in the previous macro)? Hopefully this makes sense