Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Hyperlink on a label in a VB Form

Hi everyone,

I am having a splash screen appear upon workbook_open and there is a label
with an email address that I would like users to be able to click that it
hyperlinks to the email address.

Anyone can help me with this?

Thanks.
  #2   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Hyperlink on a label in a VB Form

Are you showing a userform as that splash screen?

If yes, put a label on that userform and add some text and make it look like a
hyperlink address (blue text and underlined). Then use the label's click event:

Option Explicit
Private Sub Label1_Click()
ActiveWorkbook.FollowHyperlink Address:="http://www.microsoft.com"
End Sub






Gaetan wrote:

Hi everyone,

I am having a splash screen appear upon workbook_open and there is a label
with an email address that I would like users to be able to click that it
hyperlinks to the email address.

Anyone can help me with this?

Thanks.


--

Dave Peterson
  #3   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Hyperlink on a label in a VB Form

It gives me an error with an email address... Is the code to be different?

Thanks.

"Dave Peterson" wrote:

Are you showing a userform as that splash screen?

If yes, put a label on that userform and add some text and make it look like a
hyperlink address (blue text and underlined). Then use the label's click event:

Option Explicit
Private Sub Label1_Click()
ActiveWorkbook.FollowHyperlink Address:="http://www.microsoft.com"
End Sub






Gaetan wrote:

Hi everyone,

I am having a splash screen appear upon workbook_open and there is a label
with an email address that I would like users to be able to click that it
hyperlinks to the email address.

Anyone can help me with this?

Thanks.


--

Dave Peterson

  #4   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 35,218
Default Hyperlink on a label in a VB Form

Yep. Kind of. The code is the same. The address is different <bg.

ActiveWorkbook.FollowHyperlink "

Gaetan wrote:

It gives me an error with an email address... Is the code to be different?

Thanks.

"Dave Peterson" wrote:

Are you showing a userform as that splash screen?

If yes, put a label on that userform and add some text and make it look like a
hyperlink address (blue text and underlined). Then use the label's click event:

Option Explicit
Private Sub Label1_Click()
ActiveWorkbook.FollowHyperlink Address:="http://www.microsoft.com"
End Sub






Gaetan wrote:

Hi everyone,

I am having a splash screen appear upon workbook_open and there is a label
with an email address that I would like users to be able to click that it
hyperlinks to the email address.

Anyone can help me with this?

Thanks.


--

Dave Peterson


--

Dave Peterson
  #5   Report Post  
Posted to microsoft.public.excel.misc
external usenet poster
 
Posts: 21
Default Hyperlink on a label in a VB Form

That's good... Thanks Dave!

"Dave Peterson" wrote:

Yep. Kind of. The code is the same. The address is different <bg.

ActiveWorkbook.FollowHyperlink "

Gaetan wrote:

It gives me an error with an email address... Is the code to be different?

Thanks.

"Dave Peterson" wrote:

Are you showing a userform as that splash screen?

If yes, put a label on that userform and add some text and make it look like a
hyperlink address (blue text and underlined). Then use the label's click event:

Option Explicit
Private Sub Label1_Click()
ActiveWorkbook.FollowHyperlink Address:="http://www.microsoft.com"
End Sub






Gaetan wrote:

Hi everyone,

I am having a splash screen appear upon workbook_open and there is a label
with an email address that I would like users to be able to click that it
hyperlinks to the email address.

Anyone can help me with this?

Thanks.

--

Dave Peterson


--

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
Can I re-number Excel Form Label Controls for orderly tabbing. Linda Excel Worksheet Functions 0 June 28th 06 04:54 PM
COPY LABEL FORM FROM EXCEL TO A LABEL xrayAndi New Users to Excel 1 March 5th 06 02:21 PM
Hyperlink to specific Form in MSAccess Widemonk Excel Discussion (Misc queries) 4 January 25th 06 10:15 PM
How do I take excel data and convert to label/envelope form? Vivian Excel Worksheet Functions 1 March 29th 05 09:01 PM
hyperlink images in batch form The Fuzz Excel Worksheet Functions 1 November 13th 04 03:19 PM


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