+ Reply to Thread
Results 1 to 11 of 11

Convert contains of cells into hyperlinks

  1. #1
    Registered User
    Join Date
    06-13-2012
    Location
    athens
    MS-Off Ver
    Excel 2007
    Posts
    43

    Convert contains of cells into hyperlinks

    I have an Excel file that contains a row of lots of cells each of one contain a reference to another cell. How can I convert automatically the contain of each one of these cells into a real hyperlink of the reference cells?
    ex. a cell with this reference: =DomInt!TXJ35, should be converted into a real hyperlink between the two cells

  2. #2
    Registered User
    Join Date
    06-13-2012
    Location
    athens
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Convert contains of cells into hyperlinks

    In other words, I have a row of plain cell links and I need to convert them to clickable links. Is that possible through macros?

  3. #3
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Convert contains of cells into hyperlinks

    hi johnnylzep, sort of that, press Run button
    Attached Files Attached Files

  4. #4
    Registered User
    Join Date
    06-13-2012
    Location
    athens
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Convert contains of cells into hyperlinks

    hi watersave. thanks for yor answer.
    but how does this work? i tried to copy the code to a module in my file but it didnt work. I have a long row of 348 cells that need converting..

  5. #5
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Convert contains of cells into hyperlinks

    we could avoid all those questions if you uploaded sample file from the start

  6. #6
    Registered User
    Join Date
    06-13-2012
    Location
    athens
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Convert contains of cells into hyperlinks

    you are right!
    here it is..
    Cells are listed in the "rawdata" sheet
    test.xlsm

  7. #7
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Convert contains of cells into hyperlinks

    the code was working with active sheet, I suppose you are trying to run the code while sheet DomInt is active. If the code has always to run on rawdata sheet from any active sheet then the code would need little change (underlined)

    Please Login or Register  to view this content.
    to tun the code: ALT+F8, choose "test", Run

  8. #8
    Registered User
    Join Date
    06-13-2012
    Location
    athens
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Convert contains of cells into hyperlinks

    In the test file, it works perfect! but in the original one, it stucks (a file of 38mb).
    thanks, anyway..

  9. #9
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Convert contains of cells into hyperlinks

    how many cells do you have that are subject to hyperlink conversion?

  10. #10
    Forum Expert
    Join Date
    11-29-2010
    Location
    Ukraine
    MS-Off Ver
    Excel 2019
    Posts
    4,168

    Re: Convert contains of cells into hyperlinks

    try this in your original file and give me error message and on which line it occurs

    Please Login or Register  to view this content.

  11. #11
    Registered User
    Join Date
    06-13-2012
    Location
    athens
    MS-Off Ver
    Excel 2007
    Posts
    43

    Re: Convert contains of cells into hyperlinks

    Hi again watersave,
    It worked!! "rawdata" sheet is a matrix table of 348X503 link data. I only wanted the first row to be clickable. I removed temporarily the other data and I executed macro only for the top one raw. And it just worked.
    thanks again!!

+ Reply to Thread

Thread Information

Users Browsing this Thread

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

Tags for this Thread

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