I would like to be able to check if a file exists and direct VBA execution based on the result. The code I've seen so far in my search all seems to check if a file exists on a local drive. I need to check if the file exists on the web. For example if:
www.sec.gov/Archives/edgar/data/886475/000101905613000180/Financial_Report.xls
exists (which it does) then set a flag to True.
I've tried the Dir command and a couple other things I've seen but unsuccessfully.
Does anyone know of a simple way of doing this in VBA?
Thanks in advance.
www.sec.gov/Archives/edgar/data/886475/000101905613000180/Financial_Report.xls
exists (which it does) then set a flag to True.
I've tried the Dir command and a couple other things I've seen but unsuccessfully.
Does anyone know of a simple way of doing this in VBA?
Thanks in advance.