Nick's code wrapped in the newsgroup post.
Try this editted version.
Private Sub Workbook_SheetFollowHyperlink(ByVal Sh As Object, _
ByVal Target As Hyperlink)
Application.CommandBars("Web").Visible = False
End Sub
The underscore followed by a space means that the logical line is continued on
the next physical line.
You could have also put that "private....As Hyperlink" all on one physical line.
James said:
Thanks for your help. I do not know VBA but I tried copy and paste your
statement into the VB editor in "this workbook". I get a compile error
message that says "Procedure declaration does not match description of event
or procedure having the same name". Does this mean this will not work or did
I not enter correctly?.