Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

excel button hyperlink 1

Status
Not open for further replies.

SQLScholar

Programmer
Aug 21, 2002
2,127
GB
I need a button on a sheet to go to a specific URL with the default browser. I cant hyperlink a button (greyed out) why???

How can i do this?

TIA

Dan ----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
 
Paste this code in the code for you button:
for example:

public sub commandbutton1_click()
ActiveWorkbook.FollowHyperlink Address:=" NewWindow:=False, AddHistory:=True
end sub


hope this helps [yinyang] Tranpkp [pc2]
 
Thanks....... exactly what i required.

Cheers

Dan ----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top