Home |
Search |
Today's Posts |
#1
Posted to microsoft.public.excel.programming
|
|||
|
|||
hyperlink image for email
I got a image on a userform. what will the code behide it be to hyperlink
mailto? this dont work but more or less what i need... ================================================== ====================== Private Sub Image1_Click() subject: suport needed End Sub ================================================== ====================== |
#2
Posted to microsoft.public.excel.programming
|
|||
|
|||
hyperlink image for email
You don't need to use code to create an email, right-click the image
and use the Hyperlink option. Cliff Edwards |
#3
Posted to microsoft.public.excel.programming
|
|||
|
|||
hyperlink image for email
i tried that but there is no such option on the right click menu
"ward376" wrote in message ... You don't need to use code to create an email, right-click the image and use the Hyperlink option. Cliff Edwards |
#4
Posted to microsoft.public.excel.programming
|
|||
|
|||
hyperlink image for email
Sorry, I overlooked that your image was on a form. John Walkenbach has
an example of adding a hyperlink to a form; I would think you coud adapt it to an image on a userform. http://www.j-walk.com/SS/excel/tips/tip71.htm Cliff Edwards |
#5
Posted to microsoft.public.excel.programming
|
|||
|
|||
hyperlink image for email
Yep, it works:
Private Sub Image1_Click() Dim link As String link = " On Error GoTo NoCanDo ThisWorkbook.FollowHyperlink Address:=link, NewWindow:=True Unload UserForm1 Exit Sub NoCanDo: MsgBox "Cannot open " & link End Sub Cliff Edwards |
Reply |
Thread Tools | Search this Thread |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Forum | |||
Hyperlink from an image | Excel Discussion (Misc queries) | |||
Hyperlink in Excel to an image | Excel Discussion (Misc queries) | |||
Excel To Display image from the Hyperlink | Excel Discussion (Misc queries) | |||
How to hyperlink to an image on a different sheet and display it f | New Users to Excel | |||
Hyperlink to an image in other worksheet, displaying entire image. | Excel Worksheet Functions |