Hyperlink in text

T

Tom Ogilvy

Turn on the Macro recorder and add a hyperlink manually. Turn off the macro
recorder and adjust to fit your situation.
 
J

Jos Vens

Tom,

Problem is I want to use a variable in stead of a cell. Even using the
macroeditor gets me no further, but using a cell, made up as hyperlink
works. I prefer however a variable

Thanks
Jos

Sub Macro1()
'
' Macro1 Macro
' De macro is opgenomen op 2005-04-20 door Jos.
'

'
ActiveCell.FormulaR1C1 = "http://www.puntenboek.be"
Range("A2").Select
End Sub
 
K

keepITcool

your code assumes autocorrect is on and configured to
'correct typed url text to hyperlinks.
i wouldnt assume that.


Following is adapted from recording a simple Insert Hyperlink command
(as suggested by Tom) (Invoegen Hyperlink)

ActiveSheet.Hyperlinks.Add Anchor:=activecell, _
Address:="http://www.puntenboek.be/Download/Setup.exe", _
TextToDisplay:="Klik HIER om te downloaden!"


Cheerz.
(en wanneer zien we jij bij NL.Office.Excel?)


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Jos Vens wrote :
 
J

Jos Vens

Hallo,

NL.Office.Excel is me onbekend omdat ik hier heel veel informatie krijg. Is
dit ook een nieuwsgroep en is die even goed?

Groeten uit België
Jos
 
K

keepITcool

zelfde server (of direct bij msnews.microsoft.com)
groep: microsoft.public.nl.office.excel
taal.. nederlands

ook druk, goed en snel.


--
keepITcool
| www.XLsupport.com | keepITcool chello nl | amsterdam


Jos Vens wrote :
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top