This could end up being the most stupid question I have ever posted, but here goes .............

If the following line of code opens IE (which it does), how do I then close IE ?

I tried the obvious of duplicating the line and changing "Open" to "Close", but nope.

VB Code:
  1. OpenPage = ShellExecute(Form1.hwnd, "Open", "C:\test.html", 0&, 0&, 0&)


So, am I being dull ?