Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.worksheet.functions
EA EA is offline
external usenet poster
 
Posts: 12
Default VB Code to link to website

I have a button in Excel that I am trying to assign a code so that when it is
clicked it will open a specific webpage. Is this possible? It does not have
to be in VB code, just so long as it fulfills the objective of going to
website using the button (cannot be a hyperlink text).

Thanks!
  #2   Report Post  
Posted to microsoft.public.excel.worksheet.functions
external usenet poster
 
Posts: 22,906
Default VB Code to link to website

Sub gotoyahoo()

ActiveWorkbook.FollowHyperlink Address:="http://www.yahoo.com", _
NewWindow:=True

End Sub



Gord Dibben MS Excel MVP

On Wed, 3 Oct 2007 11:23:05 -0700, EA wrote:

I have a button in Excel that I am trying to assign a code so that when it is
clicked it will open a specific webpage. Is this possible? It does not have
to be in VB code, just so long as it fulfills the objective of going to
website using the button (cannot be a hyperlink text).

Thanks!


Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
VB Code to link to website EA Excel Discussion (Misc queries) 1 October 3rd 07 08:04 PM
Dynamic link to website Rajan Iyer Excel Worksheet Functions 2 July 31st 07 08:45 AM
Link to website not working... mercuriocs Excel Discussion (Misc queries) 1 March 31st 07 04:28 PM
How can I link from an external website to a particular worksheet Zircom Excel Worksheet Functions 0 May 5th 06 04:30 PM
Is it possible to link spreadsheet to website for input vanbass Excel Discussion (Misc queries) 0 October 20th 05 07:26 AM


All times are GMT +1. The time now is 07:52 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"