Lonkero:

Tried the

While $InvForm.Visible
? "Looping"
$=Execute($InvForm.DoEvents(1))
Loop

Same problem. Thanks though.