Can anyone help me out with this tip?
It works great for snagging HTML from a page, but you seem to have to hardcode the URL. I'd like to be able to specify the URL with a variable.

Instead of :
MsgBox DownloadFile("http://www.vbworld.com", "c:\vbworld.htm")

I'd like to be able to:

URL = "http://www.vbworld.com"
MsgBox DownloadFile(URL, "c:\vbworld.htm")

When I do that, it gives me a byref error.

Thanks for the help.