PC Review


Reply
Thread Tools Rate Thread

How to assign a hyperlink to a button on a form?

 
 
Bremser
Guest
Posts: n/a
 
      26th Mar 2008
I'm creating an order form and want to place buttons next to products that,
when clicked, take the user to a web page describing the product. I've found
a button icon on the "Forms" toolbar, but I'm not adept at VB programming and
I can't figure out how to attach or associate a hyperlink to a button. Any
advice would be appreciated!

Thanks,

Bremser
 
Reply With Quote
 
 
 
 
Barb Reinhardt
Guest
Posts: n/a
 
      26th Mar 2008
Why not just add an autoshape and assign the hyperlink to that.
--
HTH,
Barb Reinhardt



"Bremser" wrote:

> I'm creating an order form and want to place buttons next to products that,
> when clicked, take the user to a web page describing the product. I've found
> a button icon on the "Forms" toolbar, but I'm not adept at VB programming and
> I can't figure out how to attach or associate a hyperlink to a button. Any
> advice would be appreciated!
>
> Thanks,
>
> Bremser

 
Reply With Quote
 
Gary''s Student
Guest
Posts: n/a
 
      26th Mar 2008
First create a Forms button
Next create a macro like:

Sub dural()
ActiveWorkbook.FollowHyperlink Address:="http://www.cnn.com"
End Sub

Last right-click the button and assign the macro.
--
Gary''s Student - gsnu200775


"Bremser" wrote:

> I'm creating an order form and want to place buttons next to products that,
> when clicked, take the user to a web page describing the product. I've found
> a button icon on the "Forms" toolbar, but I'm not adept at VB programming and
> I can't figure out how to attach or associate a hyperlink to a button. Any
> advice would be appreciated!
>
> Thanks,
>
> Bremser

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
assign button image to hyperlink? LuDean Marvin Microsoft Powerpoint 1 9th Feb 2009 05:20 AM
Assign a Hyperlink to a button Mike K Microsoft Excel Programming 9 2nd Feb 2009 08:02 PM
Can I assign a keyboard shortcut to a hyperlink or action button simmo Microsoft Powerpoint 2 25th Jul 2005 10:10 AM
how to Assign Hyperlink to Button in Spreadsheet =?Utf-8?B?V2FycmVuIERlZWtlcg==?= Microsoft Excel Misc 1 9th Jun 2005 02:05 PM
Assign a Hyperlink to a command button ndmalam Microsoft Excel Programming 1 23rd Nov 2004 12:58 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 06:48 PM.