Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1   Report Post  
Posted to microsoft.public.excel.programming
external usenet poster
 
Posts: 22,906
Default Change list to hyperlinks

Julia

Using a David McRitchie macro.

Sub MakeHyperlinks()
'David McRitchie
Dim Cell As Range
For Each Cell In Intersect(Selection, _
Selection.SpecialCells(xlConstants, xlTextValues))
With Worksheets(1)
.Hyperlinks.Add Anchor:=Cell, _
Address:=Cell.Value, _
ScreenTip:=Cell.Value, _
TextToDisplay:=Cell.Value
End With
Next Cell
End Sub

Gord Dibben Excel MVP

On Mon, 30 Aug 2004 13:23:02 -0700, "Julia Chromicz"
wrote:

I have several long lists in Excel of network files. Each cell includes the
full path to the file. I need to change the list to hyperlinks using the
"=hyperlink" function.

For example...
current value of cell C13 H:\Directory\File.xls
desired value of cell C13 =hyperlink("H:\Directory\File.xls")

Any ideas?

Thanks!
Julia


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
Hyperlinks: Hyperlinks change on copy/paste? Rick S. Excel Worksheet Functions 0 November 13th 07 08:19 PM
Change hyperlinks Laura Excel Discussion (Misc queries) 1 May 22nd 07 05:22 PM
change hyperlinks Jakobshavn Isbrae Excel Discussion (Misc queries) 0 June 22nd 06 01:45 PM
Hyperlinks change TC Excel Discussion (Misc queries) 0 September 15th 05 12:42 AM
Change list to hyperlinks Ron de Bruin Excel Programming 0 August 30th 04 10:07 PM


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