This might work:
Do Until SomeVariable = True
inet.openurl ("http://xxxx/ssd.php?ip=" & ip.text & "&er" & set.text & "")
DoEvents
Loop