View Single Post
  #2   Report Post  
Posted to microsoft.public.excel.programming
Nayab Nayab is offline
external usenet poster
 
Posts: 62
Default Open Web page from a button on a form

On Aug 8, 9:35*am, Les wrote:
Hi,

could anybody help me the code for the above please??

Thanks in advance.
--
Les


Private Sub CommandButton1_Click()
ActiveWorkbook.FollowHyperlink Address:="http://www.google.com", _
NewWindow:=True
End Sub