i was given the start of the code to disable the google website from being viewed in internet explorer: (as a test)
VB Code:
  1. Option Explicit
  2. Dim IE As InternetExplorer
  3. Dim shWin As New ShellWindows
  4. Dim strURL As String
  5. Private Sub Form_Load()
  6. For Each iebrowser In shWin
  7.     strURL = iebrowser.locationurl
  8.     Debug.Print iebrowser.locationurl
  9.     Do While InStr(strURL, "Local%20Settings/Temporary%20Internet%20Files") = 46
  10.         strHTML = Replace(iebrowser.Document.Body.innerhtml, """", "")
  11. End Sub
  12.  
  13. If iebrowser.locationurl = "http:\\google.co.uk" Then
  14. MsgBox "no"