Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.misc
JoeStL
 
Posts: n/a
Default How to make an HTML link in excel


I want to link a few sites to some cells in excel. I would like place a
link within specific text.
Ex. _Link_name (\"http://www.google.com\")_ and have
the URL hidden. Link example goes to Google.com.
Thank you,
Joe


--
JoeStL
------------------------------------------------------------------------
JoeStL's Profile: http://www.excelforum.com/member.php...o&userid=29080
View this thread: http://www.excelforum.com/showthread...hreadid=491317

  #2   Report Post  
Posted to microsoft.public.excel.misc
Dave Peterson
 
Posts: n/a
Default How to make an HTML link in excel

I'm not sure you can hide the tooltip that shows up when you let the mouse hover
over the cell.

Maybe you could add a shape to the worksheet and then assign a macro to that
shape. The macro could follow the hyperlink.

For instance, I added a couple of rectangles to a worksheet and assigned the
same macro to both of them:

Option Explicit
Sub myLink()

Dim myHyperLink As String

myHyperLink = ""
Select Case LCase(Application.Caller)
Case Is = "rectangle 3": myHyperLink = "http://www.google.com"
Case Is = "rectangle 4": myHyperLink = "http://www.microsoft.com"
End Select

If myHyperLink = "" Then
Beep
Else
ThisWorkbook.FollowHyperlink Address:=myHyperLink, NewWindow:=True
End If

End Sub


If you're new to macros, you may want to read David McRitchie's intro at:
http://www.mvps.org/dmcritchie/excel/getstarted.htm

JoeStL wrote:

I want to link a few sites to some cells in excel. I would like place a
link within specific text.
Ex. _Link_name (\"http://www.google.com\")_ and have
the URL hidden. Link example goes to Google.com.
Thank you,
Joe

--
JoeStL
------------------------------------------------------------------------
JoeStL's Profile: http://www.excelforum.com/member.php...o&userid=29080
View this thread: http://www.excelforum.com/showthread...hreadid=491317


--

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
Insert & link a graphic file in Excel 2003 -- updatable pictures! ODI Excel Discussion (Misc queries) 7 November 14th 05 02:36 PM
Link pictures in Excel 2003 doesn't work! ODI Excel Discussion (Misc queries) 4 November 5th 05 02:23 PM
How do I save excel as HTML (but not as a full web page)? dls New Users to Excel 2 August 18th 05 12:07 AM
Link from webpage to excel sheet Auto-Reply to mail in folder, using a te Excel Discussion (Misc queries) 0 July 21st 05 09:08 PM
excel CSV is interpreted as HTML MikeDb Excel Discussion (Misc queries) 6 December 10th 04 10:35 AM


All times are GMT +1. The time now is 01:20 AM.

Powered by vBulletin® Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright ©2004-2025 ExcelBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Excel"