Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 7
Default How to assign a hyperlink to a button on a form?

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
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 3,355
Default How to assign a hyperlink to a button on a form?

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

  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 11,058
Default How to assign a hyperlink to a button on a form?

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
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
Assign macro and hyperlink pan65 Excel Programming 1 August 13th 06 01:47 PM
Assign a macro to a hyperlink Daminc[_67_] Excel Programming 5 May 2nd 06 01:51 PM
Assign a macro to a hyperlink Daminc[_66_] Excel Programming 0 April 28th 06 03:04 PM
How can I assign a symbol to a button (like the $ button) NickW Excel Discussion (Misc queries) 2 September 6th 05 02:45 PM
how to Assign Hyperlink to Button in Spreadsheet Warren Deeker Excel Discussion (Misc queries) 1 June 9th 05 02:05 PM


All times are GMT +1. The time now is 02:15 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"