Home |
Search |
Today's Posts |
#2
![]()
Posted to microsoft.public.excel.programming
|
|||
|
|||
![]()
Hope this helps... You can paste link copied from clipboard into an inputbox...
Sub add_hyperlink() Dim hl As String hl = InputBox("Copy link he") If Len(hl) = 0 Then Exit Sub ActiveSheet.Hyperlinks.Add Anchor:=Selection, Address:= _ "http://www.microsoft.com", ScreenTip:="Goto Microsoft's site", _ TextToDisplay:="Microsoft" End Sub -- Regards, Anant "jimmulv3" wrote: Hello, I am attempting to create a spread sheet for work that is as easy to use as possible. My goal is to create a macro that adds a hyperlink to a particular cell. The catch is, I would like the URL to come from the clipboard. This way all they need to do is copy the address and run the macro. Is this possible? |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Forum | |||
Macro to create hyperlink | Excel Programming | |||
HELP to program a macro to create a hyperlink | Excel Programming | |||
Create a Hyperlink as part of a macro | New Users to Excel | |||
Macro To Create Hyperlink from html text | Excel Programming | |||
Create a HYPERLINK with a macro? | Excel Programming |