cheers for your help. how would i go about getting a hyperlink to load if the user was to select/click a button (not just a macro ) i mean the button in the control toolbox (radio button it might be called) the singular button
thanks
cheers for your help. how would i go about getting a hyperlink to load if the user was to select/click a button (not just a macro ) i mean the button in the control toolbox (radio button it might be called) the singular button
thanks
hexaflexagon
Please read forum rules & wrap your VBA code
A thread with the rules is available at the top of each forum or see links below
If you do not understand the VBA code wrap instructions have a look at my last reply in this thread
http://www.excelforum.com/showthread.php?t=583950
Please Read Forum Rules Before Posting
Wrap VBA code by selecting the code and clicking the # icon or Read This
How To Cross Post politely
Top Excel links for beginners to Experts
If you are pleased with a member's answer then use the Scales icon to rate it
If my reply has assistedor failed to assist you
I welcome your Feedback.
Originally Posted by penzer
Hi,
You'll need to write a one line piece of code (or macro) and attach it to the button. Personally I'd use the square button from the Forms toolbar rather than the radio button which is usually used within a frame for selecting one of several options. Don't forget you can attach macro code to any object. It doesn't have to be a forms control object. It could be an icon, or even a picture graphic taken from the hyperlink site you want to get to.
Anyway, whichever you use, here's the code:
HTH![]()
Sub MyHyperlink() ActiveWorkbook.FollowHyperlink Address:="http://www.excelforum.com/newreply.php?do=newreply&p=1879811", _ NewWindow:=True End Sub
cheers for your help
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks