I dont know much about Visual Basic, but here is what I have:

Sub Macro1()

For x = 1 To 10
ActiveDocument.FollowHyperlink Address:="http://www.spftservers.com", _
NewWindow:=False, AddHistory:=True

Next x

End

End Sub

That basicallly opens up an internet explorer window during the loop. What I want it to do is close that internet explorer window after it is opened. Also, I would preferably like it to wait 2 seconds before closing the window. I need the code for the program since I dont know much. Thank you.

Here is what my total program is to do, so if you can write better code...:

1. Open a new Mozilla/Internet Window
2. Go to a certain website
3. **Optional** Wait 5 seconds
3. Close that Window
4. Have a loop with a certain amount runs

Thanks