+ Reply to Thread
Results 1 to 2 of 2

Creating multiple hyperlinks

  1. #1
    Registered User
    Join Date
    09-04-2006
    Posts
    20

    Creating multiple hyperlinks

    Does anybody know how to create multiple hyperlinks?

    I have a large excel file that has www.website1.com etc but does not have a hyperlink on it so I cannot access this via the spreadshhet. I have hundreds of these that I want to crate a hyperlink for. Any tips?

  2. #2
    Forum Contributor
    Join Date
    02-24-2005
    Posts
    154

    HyperLinks

    The below code will transform all cell entries in column A from row 1 to r to Hyperlinks.
    You can adapt the code to cover any range you like.

    Dim i As Integer
    Dim path As String
    For i = 1 To r "r is the end of your range"
    path = Range("A" & i).Value
    Range("A" & i).Hyperlinks.Add Range("A" & i), path
    Next i

    Is this any help
    Pete G

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Search Engine Friendly URLs by vBSEO 3.6.0 RC 1