Button Macro executes a hyperlink to a specific web internet page. However, if one is working offline or not connected to the internet and presses the macro link, the macro returns a "debug" message. Can the macro be edited to include an if statement in order to view web page, they must be connected to the internet and eliminate the "debug" window?
================ See marcro below=====================
LinkInternet Macro
' Macro recorded 11/2/2007 by George
'
'
Range("K6:N6").Select
Selection.Hyperlinks(1).Follow NewWindow:=False, AddHistory:=True
End Sub
'
'
Bookmarks