Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 846
Default Command Button Hyperlink

Thanks for taking the time to read my question.

Is it possible to have a button on a form act as a hyperlink?

If so, how do I do this?

Thanks,

Brad
  #2   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default Command Button Hyperlink

You can use a textbox from the Drawing toolbar, Brad.
*******************
~Anne Troy

www.OfficeArticles.com


"Brad" wrote in message
...
Thanks for taking the time to read my question.

Is it possible to have a button on a form act as a hyperlink?

If so, how do I do this?

Thanks,

Brad



  #3   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 846
Default Command Button Hyperlink

You can use that on a user form?

Brad

"Anne Troy" wrote:

You can use a textbox from the Drawing toolbar, Brad.
*******************
~Anne Troy

www.OfficeArticles.com


"Brad" wrote in message
...
Thanks for taking the time to read my question.

Is it possible to have a button on a form act as a hyperlink?

If so, how do I do this?

Thanks,

Brad




  #4   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 221
Default Command Button Hyperlink

Sorry, Brad. No.
*******************
~Anne Troy

www.OfficeArticles.com


"Brad" wrote in message
...
You can use that on a user form?

Brad

"Anne Troy" wrote:

You can use a textbox from the Drawing toolbar, Brad.
*******************
~Anne Troy

www.OfficeArticles.com


"Brad" wrote in message
...
Thanks for taking the time to read my question.

Is it possible to have a button on a form act as a hyperlink?

If so, how do I do this?

Thanks,

Brad






  #5   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 35,218
Default Command Button Hyperlink

How about something like:

Option Explicit
Private Sub CommandButton1_Click()
ThisWorkbook.FollowHyperlink Address:="http://www.yoursite.com"
End Sub

You might want to do the same thing with a label--format it blue underline so
that it looks like a hyperlink. It might be more familiar to users.



Brad wrote:

Thanks for taking the time to read my question.

Is it possible to have a button on a form act as a hyperlink?

If so, how do I do this?

Thanks,

Brad


--

Dave Peterson


  #6   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 846
Default Command Button Hyperlink

PERFECT!!

Thanks so much Dave,

Brad

"Dave Peterson" wrote:

How about something like:

Option Explicit
Private Sub CommandButton1_Click()
ThisWorkbook.FollowHyperlink Address:="http://www.yoursite.com"
End Sub

You might want to do the same thing with a label--format it blue underline so
that it looks like a hyperlink. It might be more familiar to users.



Brad wrote:

Thanks for taking the time to read my question.

Is it possible to have a button on a form act as a hyperlink?

If so, how do I do this?

Thanks,

Brad


--

Dave Peterson

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
put a hyperlink on a command button Lloyd Excel Worksheet Functions 1 May 21st 07 01:27 PM
Command Button Hyperlink jgarner Excel Discussion (Misc queries) 2 April 27th 07 02:12 PM
Command Button to Hyperlink to a Different worksheet Mikeyboy Excel Programming 1 May 3rd 05 12:35 PM
How do I execute command from button or hyperlink? rerhart Excel Discussion (Misc queries) 1 February 18th 05 09:41 PM
setting a command button to be a hyperlink neowok[_70_] Excel Programming 0 July 15th 04 04:55 PM


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