By using listi.net you agree to our cookie policy, We and our partners operate globally and use cookies, for multiple purposes

listi.net

 


Example 1


Sub task43()
   If InStr(sComment, "{location}") > 0 Then
    'save calls to api which is limited to 1,000 for free
    If IsMissing(Session("location")) Then
        session("location") = CallWebService("http://ipinfo.io/city"))
    End If
    sComment = Replace(sComment, "Columbus ", Session("location"))
     End If
End Sub


Hint | Answer
blog comments powered by Disqus