Thank you very much. It works nicely and saved me a lot time searching how to do it.
In fact it worked copy&past, I just had to add this line:
Dim returnValue As Variant
this function should return the values:
I still have to test what it means in Notes environment, especially when the possibility that the file on the given URL is not available. It should be easily testable.