troubleshooting Question

VBA / Download file from the web.

Avatar of Andy Brown
Andy BrownFlag for United Kingdom of Great Britain and Northern Ireland asked on
Microsoft AccessHTMLVBA
5 Comments1 Solution134 ViewsLast Modified:
I have a Microsoft Access application running on an RDP server that is heavily locked down.  I need to give users the ability to download files from a link (such as Dropbox), which can then be processed by the application (Excel for importing, PDF for email attachments etc).  

I have created a form that allows users to enter the link and found a couple of code snippets that in theory handle the download (using URLDownloadToFile and the Microsoft.XMLHTTP object).  However, whilst it does generate a file - it's an HTML file (not the PDF test file I was hoping for)

Does anyone know of a reliable way of downloading the actual file?
Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros