Okay, you have the URL to the image right? So, you put that into a string variable...

MyString = ...

Then you will need a couple of dynamic arrays declared. One for the CD.FileName and one for the CD.Filter. (Dim E() As String, N() As String)

Split on the "/" for retrieving the filename, and split on the "." for the extension (use the UBound Function...)...

Give it a try and if you have problems, post your code.



Good Luck