Dear all,
I have a macro to extact a file from a web address. The format is as shown below,
"http://www.xxxxxx.com/xxxxx/xxxxx/xxxx/YYYYMMDD/filename.xlsx"
Here, YYYYMMDD is the date (in specified format), which keeps on updating for everyday and is time dependent.
For example,
If am trying to get this link before 3PM of the day, this date will previous day date.If its more than 3PM, then it will be todays date. In simple words, this date will be previous day or present day date depending upon time (3PM)
I want to automate this link based on this Date and time critaria.
Secondly,
I want to take this 'filename.xlsx' name from a cell value,means, i will ask user to enter file names into excel cells (as there are many files) and keyin this file name into this web address from the excel cell. As of now consider 2 cells with 2 different file names.
I hope i am clear.
Please provide me the VBA code to achieve both of the above.
Thanks for all your great help..
Regards,
Madvesh.
Bookmarks